mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(curriculum): update terminology in JavaScript Functions Review (#66417)
This commit is contained in:
+1
-1
@@ -43,7 +43,7 @@ console.log(calculateTotal(100)); // Output: 105
|
|||||||
|
|
||||||
:::
|
:::
|
||||||
|
|
||||||
- Function Expressions are functions that you assign to variables. By doing this, you can use the function in any part of your code where the variable is accessible.
|
- Anonymous functions are functions without a name that can be assigned to variables. By assigning them to variables, you can reuse them anywhere the variable is accessible.
|
||||||
|
|
||||||
:::interactive_editor
|
:::interactive_editor
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user