Hoisting in javaScript
Hoisting is a phenomenon in javaScript by which you can access variables and functions even before you have initialized them or you have put some value on them. you can access it without any error. Hoisting allows functions to be safely used in code before they are declared. for Example: var x=7; function getName(){ console.log(“hoisting Continue Reading »