title: Angular: Block-scoped declarations not yet supported outside strict mode in Chrome
body: <p>I am following the <a href="https://angular.io/docs/ts/latest/tutorial/" rel="nofollow noreferrer">Angular Tour of Heroes tutorial</a>.</p>
  
  <p>I am receiving the following error immediately in Chrome browser (v47) upon loading the application localhost:3000. The same application does not produce an error in Firefox (v45):</p>
  
  <blockquote>
    <p>SyntaxError: Block-scoped declarations (let, const, function, class)
    not yet supported outside strict mode at eval (native) at
    SystemJSLoader.__exec
    (<a href="http://localhost:3000/node_modules/systemjs/dist/system.src.js:1555:18" rel="nofollow noreferrer">http://localhost:3000/node_modules/systemjs/dist/system.src.js:1555:18</a>)
    at entry.execute
    (<a href="http://localhost:3000/node_modules/systemjs/dist/system.src.js:4035:18" rel="nofollow noreferrer">http://localhost:3000/node_modules/systemjs/dist/system.src.js:4035:18</a>)
    at linkDynamicModule
    (<a href="http://localhost:3000/node_modules/systemjs/dist/system.src.js:3300:32" rel="nofollow noreferrer">http://localhost:3000/node_modules/systemjs/dist/system.src.js:3300:32</a>)
    at link
    (<a href="http://localhost:3000/node_modules/systemjs/dist/system.src.js:3135:11" rel="nofollow noreferrer">http://localhost:3000/node_modules/systemjs/dist/system.src.js:3135:11</a>)
    at Object.execute
    (<a href="http://localhost:3000/node_modules/systemjs/dist/system.src.js:3510:13" rel="nofollow noreferrer">http://localhost:3000/node_modules/systemjs/dist/system.src.js:3510:13</a>)
    at doDynamicExecute
    (<a href="http://localhost:3000/node_modules/systemjs/dist/system.src.js:766:25" rel="nofollow noreferrer">http://localhost:3000/node_modules/systemjs/dist/system.src.js:766:25</a>)
    at link
    (<a href="http://localhost:3000/node_modules/systemjs/dist/system.src.js:964:20" rel="nofollow noreferrer">http://localhost:3000/node_modules/systemjs/dist/system.src.js:964:20</a>)
    at doLink
    (<a href="http://localhost:3000/node_modules/systemjs/dist/system.src.js:623:7" rel="nofollow noreferrer">http://localhost:3000/node_modules/systemjs/dist/system.src.js:623:7</a>)
    at updateLinkSetOnLoad
    (<a href="http://localhost:3000/node_modules/systemjs/dist/system.src.js:669:18" rel="nofollow noreferrer">http://localhost:3000/node_modules/systemjs/dist/system.src.js:669:18</a>)
    at
    <a href="http://localhost:3000/node_modules/systemjs/dist/system.src.js:485:11" rel="nofollow noreferrer">http://localhost:3000/node_modules/systemjs/dist/system.src.js:485:11</a>
    at ZoneDelegate.invoke
    (<a href="http://localhost:3000/node_modules/zone.js/dist/zone.js:334:26" rel="nofollow noreferrer">http://localhost:3000/node_modules/zone.js/dist/zone.js:334:26</a>) at
    Zone.run
    (<a href="http://localhost:3000/node_modules/zone.js/dist/zone.js:126:43" rel="nofollow noreferrer">http://localhost:3000/node_modules/zone.js/dist/zone.js:126:43</a>) at
    <a href="http://localhost:3000/node_modules/zone.js/dist/zone.js:713:57" rel="nofollow noreferrer">http://localhost:3000/node_modules/zone.js/dist/zone.js:713:57</a> at
    ZoneDelegate.invokeTask
    (<a href="http://localhost:3000/node_modules/zone.js/dist/zone.js:367:31" rel="nofollow noreferrer">http://localhost:3000/node_modules/zone.js/dist/zone.js:367:31</a>)</p>
  </blockquote>
  
  <p>This is the tsconfig.json file being used (as supplied in the tutorial):</p>
  
  <pre><code>{
    "compilerOptions": {
      "target": "es5",
      "module": "commonjs",
      "moduleResolution": "node",
      "sourceMap": true,
      "emitDecoratorMetadata": true,
      "experimentalDecorators": true,
      "lib": [ "es2015", "dom" ],
      "noImplicitAny": true,
      "suppressImplicitAnyIndexErrors": true
    }
  }
  </code></pre>