We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 86a6021 + 6a432df commit 468e355Copy full SHA for 468e355
1-js/02-first-steps/18-javascript-specials/article.md
@@ -273,7 +273,7 @@ We covered three ways to create a function in JavaScript:
273
```
274
275
276
-- Functions may have local variables: those declared inside its body. Such variables are only visible inside the function.
+- Functions may have local variables: those declared inside its body or its parameter list. Such variables are only visible inside the function.
277
- Parameters can have default values: `function sum(a = 1, b = 2) {...}`.
278
- Functions always return something. If there's no `return` statement, then the result is `undefined`.
279
0 commit comments