Articles in this series
ES6 introduced new string methods such as startsWith(), endsWith(), includes(), padStart(), padEnd(), repeat(). To check if a string starts with a...
A variable declared with const can be mutable or immutable depending on the data type of the assigned value. However, a constant cannot be reassigned...
Hoisting refers to JavaScript giving higher precedence to the declaration of variables, classes, and functions during a program’s execution. It makes...
Scope in JavaScript determines the accessibility (visibility) of variables from different parts of the code. Global Scope: Variables declared at the...