Would you like to clone this notebook?

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


hoisting #5

node v10.24.1
version: master
// 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();

no comments

    sign in to comment