mirror of
https://github.com/classilla/tenfourfox.git
synced 2024-06-01 01:41:37 +00:00
8 lines
217 B
JavaScript
8 lines
217 B
JavaScript
// Trying to access a binding that doesn't exist due to @@unscopables
|
|
// is a ReferenceError.
|
|
|
|
with ({x: 1, [Symbol.unscopables]: {x: true}})
|
|
assertThrowsInstanceOf(() => x, ReferenceError);
|
|
|
|
reportCompare(0, 0);
|