Symbol.iterator.js (449B)
1 // |reftest| module 2 // Copyright (C) 2016 Kevin Gibbons. All rights reserved. 3 // This code is governed by the BSD license found in the LICENSE file. 4 /*--- 5 esid: sec-@@iterator 6 description: Module namespace objects lack a Symbol.iterator property. 7 flags: [module] 8 features: [Symbol.iterator] 9 ---*/ 10 11 import * as ns from './Symbol.iterator.js'; 12 13 assert.sameValue(Object.prototype.hasOwnProperty.call(ns, Symbol.iterator), false); 14 15 reportCompare(0, 0);