Sesame Script
Teaching Javascript thru film!
SORT
All
Variables
Functions
Loops
Methods
Get Data
Data Types
Statements
Node
Ajax
AJAX = Asynchronous JavaScript And XML
Array
JavaScript arrays are used to store multiple values in a single variable.
Constructor
A constructor is a function that initializes an object.
Data Types
String - Number - Boolean - Null - Undefined - Symbol
forEach()
The forEach() method executes a provided function once for each array element.
For Loop
The for statement creates a loop that is executed as long as a condition is true
Function
A JavaScript procedure—a set of statements that performs a task or calculates a value.
If/Else statement
The if/else statement executes a block of code if a specified condition is true. If the condition is false, another block of code can be executed.
Imports and Exports in Node.js
Node modules allow you to write reusable code
map()
The map() method creates a new array populated with the results of calling a provided function on every element in the calling array.
Objects
JavaScript objects are containers for named values called properties or methods.
Parameters
Parameters are variables listed as a part of the function definition.
Returns
The return statement stops the execution of a function and returns a value from that function.
Switch Statement
The switch statement executes a block of code depending on different cases.
Variable
JavaScript variables are containers for storing data values.
While Loop
The while statement creates a loop that is executed while a specified condition is true