**What is an expression?
A part of code that produces a value when executed.
**What is a binding?
A binding is used to catch or hold a value.
**What is an environment?
A collection of values and bindings for a given time.
**What is a function?
A function is code wrapped in a value.
**Give an example of a function.
alert(âIvan Loves Fungiâ);
**What is a side effect?
Side effects are given from the execution of a function. It can be a text box.
**Give an example of a function that produces a side effect and another function that produces a value.
Using the Ivan Loves Fungi alert, you would see a text box appear with those words. Math.max is a function that produces a value.
**What is control flow?
Control flow is basically like reading a book. You start at the top and end at the bottom.
**What is conditional execution?
A method used to branch logic based on the input given.
For instance,
Enter a number - # Given - Show
Enter a number - Not a Number Given - Show something else
. **What kind of keyword do you need to use to invoke conditional execution?
IF and Else.
If number is given, show this
Else, show this.