diff --git a/1-js/06-advanced-functions/02-rest-parameters-spread/article.md b/1-js/06-advanced-functions/02-rest-parameters-spread/article.md index c63fe70cd..eb50c5087 100644 --- a/1-js/06-advanced-functions/02-rest-parameters-spread/article.md +++ b/1-js/06-advanced-functions/02-rest-parameters-spread/article.md @@ -20,7 +20,7 @@ function sum(a, b) { return a + b; } -alert( sum(1, 2, 3, 4, 5) ); +alert( sum(1, 2, 3, 4, 5) ); // 3 ``` There will be no error because of "excessive" arguments. But of course in the result only the first two will be counted.