Array destructuring is a unique technique that allows you to neatly extract an array’s value into new variables.
An array bundles values that a user cannot name, while an object bundles values that a user can name.
An asynchronous function is a function that runs in its own timing—without waiting for another function to finish its execution first.
call(), apply(), and bind() make it possible for you to change the runtime binding of a function’s this keyword from one object to another.
Declaration means to declare the creation of variables and functions. Initialization occurs when you assign an initial value to a variable.
The difference between document, data, and code is that a document holds data. Data is a page's content. And code is a computer's language.
filter() creates a new array that contains all the calling array’s elements that passed the test specified by the method’s argument.
Whenever you use forEach() on an array, the method executes its function argument once for each item of the calling array.
This Glossary defines important terms used in programming and web development.
Lexical scope is the definition area of an expression. Therefore, an item's lexical scope is the place in which the item got created.
Logic is the analytical action performed by a computer, which often requires the computer to decide if a condition is true or false.
map() creates a new array that contains the result of invoking map()'s function argument on each item of the calling array.
Minimax algorithm is a recursive function that helps a player minimize the maximum possibility of losing a game.
A namespace is a named container used to store objects of any type. It allows you to use the same object multiple times in the same script.
Object destructuring is a unique technique that allows you to neatly extract an object’s value into new variables.
References to valuable tech-related resources
Recursion is a method by which a problem gets solved through iteration. This article will use an example to illustrate recursive functions.
Whenever you use reduce() on an array, the method uses its function argument to reduce its calling array’s items to a single value.
Side effect occurs in a program whenever you use an external code in your function, which impacts the function’s ability to perform its task.
The spread operator helps to expand iterables into individual elements. It is effective only when used within an array, function, or object.
A temporal dead zone is the area of a block where a variable is inaccessible until the computer completely initializes it with a value.
Test-driven development is a coding practice where you write the result you want your program to produce before creating the program.