commit
96bd8cf145
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ In more advanced situations, that we'll come across later, a function may be cre
|
|||
|
||||
## Function is a value
|
||||
|
||||
Let's reiterate: no matter how the function is created, a function is a value. Both examples above store a function is `sayHi` variable.
|
||||
Let's reiterate: no matter how the function is created, a function is a value. Both examples above store a function in the `sayHi` variable.
|
||||
|
||||
We can even print out that value using `alert`:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue