GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — DataTypes/JavaScript/2-const-let.js at master · HowProgrammingWorks/DataTypes Expand file tree/ Copy path2-const-let.jsMore file actions 17 lines (12 loc) · 353 Bytes / Copy path2-const-let.jsFile metadata and controls17 lines (12 loc) · 353 Bytes 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 'use strict'; console.dir({ hoisted }); // { hoisted: undefined } hoisted = 5; // Assign 5 to hoisted console.dir({ hoisted }); // { hoisted: 5 } var hoisted; // Declare hoisted let scalarVariable = 6; const scalarConstant = 7; const o = { scalarVariable, scalarConstant }; console.dir(o); o.scalarVariable = 8; scalarVariable = 9; console.dir(o); |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |