Would you like to clone this notebook?

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

Cancel

hoisting #5

node v10.17.0
version: master
endpointsharetweet
// Initialize x in the global scope let x = true; function hoist() { // Initialize x in the function scope if (3 === 4) { let x = false; } console.log(x); } hoist();
Loading…

no comments

    sign in to comment