Tag Archives: hoisting

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:

even trying to access Continue Reading »