Commit 5b6feae
committed
docs: fix terminology - 'argument' to 'parameter' in tutorial
Fixes #8375
The tutorial incorrectly used 'argument' when referring to the function
parameter in the handleClick function declaration. In JavaScript:
- Parameter is the variable in the function declaration
- Argument is the actual value passed when calling the function
This change improves accuracy and helps learners understand the
distinction between these two important programming concepts.1 parent 40ea071 commit 5b6feae
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1137 | 1137 | | |
1138 | 1138 | | |
1139 | 1139 | | |
1140 | | - | |
| 1140 | + | |
1141 | 1141 | | |
1142 | 1142 | | |
1143 | 1143 | | |
| |||
0 commit comments