Skip to content

Instantly share code, notes, and snippets.

@ggauravr
Created January 21, 2016 23:48
Show Gist options
  • Select an option

  • Save ggauravr/1b87aec5ca3ca27d1be8 to your computer and use it in GitHub Desktop.

Select an option

Save ggauravr/1b87aec5ca3ca27d1be8 to your computer and use it in GitHub Desktop.

Revisions

  1. ggauravr renamed this gist Jan 21, 2016. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. ggauravr created this gist Jan 21, 2016.
    8 changes: 8 additions & 0 deletions declared-typeof-let
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,8 @@
    (function() {
    'use strict';

    console.log(typeof someVariable); // ReferenceError!

    let someVariable = "Defined";

    })();