Basics of global context and hoisting in JavaScript
In this article, we are going to cover:
What is the global context?
What is hoisting in Js?
What happens in the case of let and const?
Global Context馃審
Let's just say we write the code as:
function sayHello(){
console.log("Hello");
}
sayHello()...
sanketdhabarde.hashnode.dev4 min read