June 14, 2026
1.A fragment of code that produces a value is called an expression.
2.It may display something on the screen, as with console.log, or change the state of the machine in a way that will affect the statements that came after it. These changes are called side effects.
3.The word const stands for constant. It defines a constant binding which points at the same values for as long as it lives.
4.The collection of bindings and their values that exist at a given time is called the enviroment.
5.The statement after the if is wrapped in braces({ and }) in this example. The braces can be used to group any number of statements into a single statement called a block. You could also have omitted them in this case since they hold only a single statement.
6.The break statement has the effect of immediately jumping out of the enclosing loop.
7.The continue keyword is similar to break in that it influences the progress of a loop when continue is encountered in a loop body, control jumps out of the body and continues with the loop;s next iteration.