Let's jump into JavaScript
JavaScript is a high-level and widely used programming language. It is used in web browsers and server side with technologies like Nodejs & Deno.
Read
Because of it's popularity & versatility it can be a good choice for beginners in some situations, but it may not be the ideal starting point for everyone.
Read
Hoisting is the default behavior of moving all the declarations at the top of the scope before code execution.
Read
A closure gives you access to an outer function's scope from an inner function. JavaScript does not have a native way to create private variables. However, we can achieve that in different ways.
Read
In JavaScript, the this keyword is a reference to the context in which a function is executed.
Read
The call, apply, and bind are the methods in JavaScript that are used to control the execution context (the value of this object) of a function.
Read
Function currying is a functional programming technique that involves breaking down a function that takes multiple arguments into a series of functions that take one argument each.
Read
We can define a new method named myMap on the Array.prototype object. This allows us to call myMap on any array instance. Click to read more.
Read
Shallow Copy duplicates only the outer shell. Where as Deep Copy creates a fully independent replica.
Read
In JavaScript, let, const, and var are used to declare variables, but they have different characteristics and scopes.
Read
The Temporal Dead Zone (TDZ) is a behavior in JavaScript that occurs with variables declared using let and const. The TDZ starts at the beginning of the block where the variable is declared and ends when the variable is initialized with a value.
Read
Destructuring in JavaScript is a syntax feature that allows you to extract values from arrays or properties from objects.
Read
The variable arguments (often referred to as var args) allow functions to accept a variable number of arguments.
Read
With Array.prototype.map() we can prepare a new array from another array elements.
Read
Bubbling and capturing are two phases of event processing that determine the order in which elements receive an event.
Read
The event.stopPropagation() is a method used to break the chain/propagation of an event beyond the current target. This means it stops the event from bubbling up to parent elements or from capturing down to child elements.
Read
Promise is a way of handling asynchronous operations. The 3 stages of a Promise are Pending, Fulfilled & Rejected.
Read
In JavaScript, Context refers to the value of the this keyword within a function.
Read
The event loop is a concept in Node.js that allows it to handle asynchronous operations efficiently.
Read