JS Lang

Expression

an expression is a valid unit of code that resolves to a value.

There are two types of expressions:

  1. those that have side effects (such as assigning values)
  2. those that purely evaluate.

Any JavaScript expression is also a statement.

Statement

The ; character is used to separate statements in JavaScript code.

The most basic statement is a block statement, which is used to group statements.

  • Block statements are commonly used with control flow statements (if, for, while).

UE Resources


Children
  1. Array
  2. Bitwise
  3. Callbacks
  4. Classes
  5. Closures
  6. Decorator
  7. Errors
  8. Feat
  9. Functions
  10. Iterator
  11. Javascript Imports
  12. Lexical Scope
  13. Methods
  14. Objects
  15. Operators
  16. Promises
  17. Type