We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bb8c9f commit 0c9e22eCopy full SHA for 0c9e22e
README.md
@@ -1616,7 +1616,7 @@ Other Style Guides
1616
let a = b = c = 1;
1617
}());
1618
1619
- console.log(a); // undefined
+ console.log(a); // throws ReferenceError
1620
console.log(b); // 1
1621
console.log(c); // 1
1622
@@ -1627,9 +1627,9 @@ Other Style Guides
1627
let c = a;
1628
1629
1630
1631
- console.log(b); // undefined
1632
- console.log(c); // undefined
+ console.log(b); // throws ReferenceError
+ console.log(c); // throws ReferenceError
1633
1634
// the same applies for `const`
1635
```
0 commit comments