#hoisting
Read more stories on Hashnode
Articles with this tag
Before we dive into what Hoisting is let us go through an example and understand this phenomenon. INPUT --> getName(); console.log(x); var x =...