Array destructuring is a unique technique that allows you to neatly extract an array’s value into new variables.
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.
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.
Lexical scope is the definition area of an expression. Therefore, an item's lexical scope is the place in which the item got created.
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.
An impure function is a function that contains one or more side effects. A pure function is a function without any side effects.
This article will use a simple React project to show you how to click (or double click) to edit a page’s text.
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.
Test-driven development is a coding practice where you write the result you want your program to produce before creating the program.