1/*Like other data types, functions may be assigned to variables.
2If we create a function named hello, we can assign it to a variable
3with this syntax:*/
4
5function hello() {
6
7 // function body
8
9}
10
11let helloFunc = hello;
12
13/*When a variable refers to a function, we can use the variable name to
14call the function:*/
15
16helloFunc();