JavaScript HoistingDuring the creation phase, the JavaScript engine moves the variable and function declarations to the top of your code. This feature is known as hoisting in JavaScript. when you execute JS code, JavaScript Engine creates Gobal Execution Context - wh...Apr 25, 2021 · 3 min readkushalgupta.hashnode.dev
JavaScript Interview NotesQ1) What is JavaScript ? JavaScript is a programming language initially designed to interact with elements of web pages. In web browsers, JavaScript consists of three main parts: ECMAScript that provides the core functionality. The Document Object ...Apr 25, 2021 · 2 min readkushalgupta.hashnode.dev
Javascript - ES6 - Notes1. Differences Between the var and let Keywords var camper = 'James'; var camper = 'David'; console.log(camper); // logs 'David' As you can see in the code above, the camper variable is originally declared as James and then overridden to be David. In...Jan 26, 2021 · 6 min readkushalgupta.hashnode.dev
JavaScript Basics - Notes1. comments : multi-line use /*** **/ and in-line use // 2. JavaScript Variables : Variable names can be made up of numbers, letters, and $ or _, but may not contain spaces or start with a number When JavaScript variables are declared, they ...1KJan 25, 2021 · 8 min readkushalgupta.hashnode.dev