Debian Codegraph @

js/src/tests/test262/language/module-code/namespace/internals/get-sym-not-found.js

raw
1 // |reftest| module
2 // Copyright (C) 2016 the V8 project authors. All rights reserved.
3 // This code is governed by the BSD license found in the LICENSE file.
4 /*---
5 esid: sec-module-namespace-exotic-objects-get-p-receiver
6 description: >
7 Behavior of the [[Get]] internal method with a symbol argument that cannot
8 be found
9 info: |
10 [...]
11 2. If Type(P) is Symbol, then
12 a. Return ? OrdinaryGet(O, P, Receiver).
13 flags: [module]
14 features: [Symbol]
15 ---*/
16
17 import * as ns from './get-sym-not-found.js';
18
19 assert.sameValue(ns[Symbol('test262')], undefined, 'Symbol: test262');
20
21 reportCompare(0, 0);