Skip to content

Commit a233ed2

Browse files
authored
Parameters section
update parameter name from "next" to "text"
1 parent 144a2fe commit a233ed2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/02-first-steps/14-function-basics/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ showMessage('Ann', "What's up?"); // Ann: What's up? (**)
150150
*/!*
151151
```
152152
153-
When the function is called in lines `(*)` and `(**)`, the given values are copied to local variables `from` and `next`. Then the function uses them.
153+
When the function is called in lines `(*)` and `(**)`, the given values are copied to local variables `from` and `text`. Then the function uses them.
154154
155155
Here's one more example: we have a variable `from` and pass it to the function. Please note: the function changes `from`, but the change is not seen outside, because a function always gets a copy of the value:
156156

0 commit comments

Comments
 (0)