{
  "meta": {
    "canonicalUrl": "https://timetostable.com/feature/javascript.statements.let",
    "bcdVersion": "8.1.11",
    "webFeaturesVersion": "3.48.0"
  },
  "kind": "bcd",
  "bcdFeature": {
    "id": "javascript.statements.let",
    "cat": "javascript",
    "mdn": "JavaScript/Reference/Statements/let",
    "spec": "https://tc39.es/ecma262/multipage/ecmascript-language-statements-and-declarations.html#sec-let-and-const-declarations",
    "st": 1,
    "wf": "let-const",
    "bl": "high",
    "bld": 17064,
    "s": {
      "chrome": {
        "v": "49",
        "d": 16862
      },
      "firefox": {
        "v": "44",
        "d": 16826
      },
      "safari": {
        "v": "10",
        "d": 17064
      },
      "edge": {
        "v": "14",
        "d": 17015
      },
      "chrome_android": {
        "v": "49",
        "d": 16869
      },
      "firefox_android": {
        "v": "44",
        "d": 16826
      },
      "safari_ios": {
        "v": "10",
        "d": 17057
      },
      "webview_android": {
        "v": "49",
        "d": 16869
      },
      "webview_ios": {
        "v": "10",
        "d": 17057
      },
      "samsunginternet_android": {
        "v": "5.0",
        "d": 17150
      },
      "opera": {
        "v": "17",
        "d": 15986
      },
      "opera_android": {
        "v": "18",
        "d": 16029
      },
      "deno": {
        "v": "1.0",
        "d": 18395
      },
      "nodejs": {
        "v": "6.0.0",
        "d": 16917
      },
      "bun": {
        "v": "1.0.0",
        "d": 19608
      },
      "oculus": {
        "v": "5.0",
        "d": 17713
      },
      "ie": {
        "p": [
          "11",
          15995
        ]
      }
    },
    "notes": [
      {
        "t": "<a href=\"https://developer.mozilla.org/docs/Web/JavaScript/Reference/Strict_mode\">Strict mode</a> is required.",
        "b": [
          "chrome",
          "chrome_android",
          "webview_android",
          "samsunginternet_android"
        ]
      },
      {
        "t": "Before Firefox 44, <code>let</code> is only available to code blocks in HTML wrapped in a <code>&lt;script type=\"application/javascript;version=1.7\"&gt;</code> block (or higher version) and has different semantics (e.g. no temporal dead zone).",
        "b": [
          "firefox"
        ]
      },
      {
        "t": "Before Firefox 46, a <code>TypeError</code> is thrown on redeclaration instead of a <code>SyntaxError</code>.",
        "b": [
          "firefox"
        ]
      },
      {
        "t": "Firefox 54 adds support of <code>let</code> in workers.",
        "b": [
          "firefox"
        ]
      },
      {
        "t": "In Edge 12 and 13, <code>let</code> within a <code>for</code> loop initializer does not create a separate variable for each loop iteration as defined by ES2015. Instead, it behaves as though the loop were wrapped in a scoping block with the <code>let</code> immediately before the loop.",
        "b": [
          "edge"
        ]
      },
      {
        "t": "Before Firefox for Android 44, <code>let</code> is only available to code blocks in HTML wrapped in a <code>&lt;script type=\"application/javascript;version=1.7\"&gt;</code> block (or higher version) and has different semantics (e.g. no temporal dead zone).",
        "b": [
          "firefox_android"
        ]
      },
      {
        "t": "Before Firefox for Android 46, a <code>TypeError</code> is thrown on redeclaration instead of a <code>SyntaxError</code>.",
        "b": [
          "firefox_android"
        ]
      },
      {
        "t": "Firefox for Android 54 adds support of <code>let</code> in workers.",
        "b": [
          "firefox_android"
        ]
      },
      {
        "t": "In Internet Explorer, <code>let</code> within a <code>for</code> loop initializer does not create a separate variable for each loop iteration as defined by ES2015. Instead, it behaves as though the loop were wrapped in a scoping block with the <code>let</code> immediately before the loop.",
        "b": [
          "ie"
        ]
      }
    ]
  },
  "webFeature": {
    "id": "let-const",
    "name": "Let and const",
    "description": "The let and const declarations define block-scoped variables.",
    "group": "javascript",
    "groupName": "JavaScript",
    "spec": "https://tc39.es/ecma262/multipage/ecmascript-language-statements-and-declarations.html#sec-let-and-const-declarations",
    "baseline": "high",
    "baselineLowDate": "2016-09-20",
    "baselineLowDay": 17064,
    "baselineHighDate": "2019-03-20",
    "compatCount": 2,
    "cats": [
      "javascript"
    ],
    "compatKeysSample": [
      "javascript.statements.const",
      "javascript.statements.let"
    ],
    "s": {
      "chrome": {
        "v": "49",
        "d": 16862
      },
      "chrome_android": {
        "v": "49",
        "d": 16869
      },
      "edge": {
        "v": "14",
        "d": 17015
      },
      "firefox": {
        "v": "44",
        "d": 16826
      },
      "firefox_android": {
        "v": "44",
        "d": 16826
      },
      "safari": {
        "v": "10",
        "d": 17064
      },
      "safari_ios": {
        "v": "10",
        "d": 17057
      }
    }
  }
}