JavaScript

Last Updated: 12/14/2022

Program

  • A computer program is a list of "instructions" to be "executed" by a computer.
  • In a programming language, these programming instructions are called statements.

Statements

  • A statement is a piece of code that expresses an action to be carried out
  • The statements are executed, one by one, in the same order as they are written.
  • All statements in Javascript should be terminated by a semi colon.
  • Ending statements with semicolon is not required, but highly recommended.
console.log("Hello World");