Searching for: Optionals in JavaScript
Function Declaration
Language: JavaScript

A function (method) is a block of code that can be called from another location in the program or class.

Switch Case
Language: JavaScript

A switch case is used test variable equality for a list of values, where each value is a case. When the variable is equal to one of the cases, the statements following the case are executed.

Arrays
Language: JavaScript

Used to declare a variable that can hold multiple values.

If Statement
Language: JavaScript

The if else block controls decision making by checking true/false statements resulting in different executions of code, depending on if the result is true and if the result is false. There are three parts to the if-else block: if, else if, and else.


  Next Page >