Callback in java script | Java Script Interview Series
👉 A function that is passed as an argument to another function. Note : Why do we need callback ♦️ JavaScript runs code sequentially in top-down order. However, there are […]
👉 A function that is passed as an argument to another function. Note : Why do we need callback ♦️ JavaScript runs code sequentially in top-down order. However, there are […]
This article will teach shallow and deep copy in java script with code examples. Introduction : ✅ Shallow copy means copying only the first level of an object or array.If […]
In the last article, we have learnt about how JavaScript execution works. But that is not the complete flow. We have not taken a few properties into account and that’s […]
What is DOM DOM is a programming interface or an API which represent the element in a tree structure format. In short, it an object oriented representation of a web-page […]
In global exception context, this and window object are by default created – “this” keyword “this” keyword refers to the object it belongs to By default , this refers to […]
What is scope in java script ? Types of scope – Global Scope Local Scope/ Functional Scope Block Scope Global Scope Local Scope Block Scope Scope of a variable is […]
Lets understand the working with an simple example – var a = “hello world”; console.log(a); function demo1() { console.log(“demo1 fun”); demo2(); } function demo2() { console.log(“demo2 fun”); } demo1(); console.log(“It […]
In JavaScript, there are three keywords used for variable declaration: “var”, “let”, and “const” Definiton(ft. chatgpt) In JavaScript, there are three types of variable declarations: var, let, and const. Here’s […]