Would you like to clone this notebook?

When you clone a notebook you are able to make changes without affecting the original notebook.


hoisting #4

node v10.24.1
version: master
// Initialize x in the global scope var x = 100; function hoist() { // A condition that should not affect the outcome of the code if (false) { var x = 200; } console.log(x); } hoist();

no comments

    sign in to comment