mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-06-01 01:41:37 +00:00
10 lines
219 B
JavaScript
10 lines
219 B
JavaScript
// Accessing an uninitialized variable due to @@unscopables is still a ReferenceError.
|
|
|
|
with ({x: 1, [Symbol.unscopables]: {x: true}})
|
|
assertThrowsInstanceOf(() => x, ReferenceError);
|
|
|
|
let x;
|
|
|
|
reportCompare(0, 0);
|
|
|