hoisting in javascript

JavaScript
Use Node JS
Source

Also in JavaScript: