get-sym-found.js (603B)
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 can be 8 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.toStringTag] 15 ---*/ 16 17 import * as ns from './get-sym-found.js'; 18 19 assert.sameValue(typeof ns[Symbol.toStringTag], 'string'); 20 21 reportCompare(0, 0);