diff --git a/1-js/4-data-structures/10-arguments-pseudoarray/article.md b/1-js/4-data-structures/10-arguments-pseudoarray/article.md index afd7536a..8db94177 100644 --- a/1-js/4-data-structures/10-arguments-pseudoarray/article.md +++ b/1-js/4-data-structures/10-arguments-pseudoarray/article.md @@ -260,9 +260,9 @@ function showWarning(width, height, title, contents) { ```js function showWarning(width, height, title, contents) { - if (width !== undefined) width = 200; - if (height !== undefined) height = 100; - if (title !== undefined) title = "Предупреждение"; + if (width === undefined) width = 200; + if (height === undefined) height = 100; + if (title === undefined) title = "Предупреждение"; //... }