Javascript Hoisting
What is hoisting in JavaScript?
Javascript Hoisting is javascript's default variable which moves all the declarations at the top of the script.
Like, A variable can be used before it has been declared.
Example:
/**
* For hoisting the variable x is n...