Scope and Lexical EnvironmentNote: It is very important for a beginner to understand that JavaScript is synchronous in nature (that is it executes the code one line at…Jan 18, 2022Jan 18, 2022
What is hoisting in JavaScript?For understanding the concept of hoisting in detail let us first understand the Global execution context.Jan 7, 2022Jan 7, 2022
What is copy by value and copy by reference?For understanding this topic, we have to understand what is a primitive and non-primitive data type.Dec 9, 2020Dec 9, 2020
Why FlexBox?First of all, let us start with what is flexbox and why it was introduced?Nov 2, 2020Nov 2, 2020
HoistingHoisting is javaScript’s default behavior of moving the declaration to the top. Javascript only moves the variable declaration to the top…Sep 7, 2020Sep 7, 2020
Global and Local variables in javaScriptGlobal variables: Global variables are the variables that are declared outside any function in a program and can be accessed in any…Aug 8, 2020Aug 8, 2020
for-in loopAccording to MDN: The for...in statement iterates over all enumerable properties of an object that are keyed by strings (ignoring ones…Jul 6, 2020Jul 6, 2020
For-of loopAccording to MDN: The for...of statement creates a loop iterating over iterable objects, including built-in String, Array, array-like…Jul 5, 2020Jul 5, 2020