JavaScript Hoisting
In JS any variables and functions trying to access before the declaration is known as Hoisting.
Let's see the First example:
1 var num = 80
2
3 function declaration (){
4 console.log("creative world");
5 }
6
7 dec...
blessie-blog.hashnode.dev1 min read