Update article.md
This commit is contained in:
parent
e7c5d13554
commit
dc6be3a386
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
|
## 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 in `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`:
|
We can even print out that value using `alert`:
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue