Debian Codegraph @

js/src/tests/test262/built-ins/Symbol/unscopables/cross-realm.js

raw
1 // Copyright (C) 2016 the V8 project authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3 /*---
4 esid: sec-symbol.unscopables
5 description: Value shared by all realms
6 info: |
7 Unless otherwise specified, well-known symbols values are shared by all
8 realms.
9 features: [cross-realm, Symbol.unscopables]
10 ---*/
11
12 var OSymbol = $262.createRealm().global.Symbol;
13
14 assert.sameValue(Symbol.unscopables, OSymbol.unscopables);
15
16 reportCompare(0, 0);