Search Results
Searching for: Lists in JavaScript
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.
Function Assignment
Language: JavaScript
Used to call and/or provide the context (object) for a function that is dependant on an object. Often, functions are assigned to objects and access object members using the 'this' keyword.