the space between var and greeting cannot be removed, but the other spaces can be removed.
A script is a series of instructions that a computer can follow one-by-one. Each individual instruction or step is known as a statement. Statements should end with a semicolon. A statement is an individual instruction that the computer should follow.
1. Single-Line Comments
2. Multi-Line Comments