In this blog, we will see 10 very simple but must know interview Question and answers. 1. What is the relation between JavaScript and ECMA Script? Javascript is a scripting language used for web or webapplication development whereas ECMA Script is a like a guideline and rules for Javascript. 2. What is Callback? A callback is a JavaScript function passed to some other function as an argument which is to be executed after the main function has finished executing. function callbackFun(x) { console.log(x); } function mainFun(num, callback) { console.log("Hi I am going to call callback"); callback(num); } mainFun(7, callbackFun); 3. What is Closure? A closure is a feature in JavaScript where an inner function has access to the outer (enclosing) function's variables. Learn more about closure . 4. What is namespace in JavaScript? Namespace is used for grouping the desired functions, variables etc. under a unique name. This impro
Explore Javascript core concepts and various Js frameworks. Understand behind the scene working of Javascript engine in easy language with various simple examples.