summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/module-code/namespace/Symbol.iterator.js
blob: 07d4ad7b3498d7c4f5310b363b7139437c716ff2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// |reftest| module
// Copyright (C) 2016 Kevin Gibbons. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
esid: sec-@@iterator
description: Module namespace objects lack a Symbol.iterator property.
flags: [module]
features: [Symbol.iterator]
---*/

import * as ns from './Symbol.iterator.js';

assert.sameValue(Object.prototype.hasOwnProperty.call(ns, Symbol.iterator), false);

reportCompare(0, 0);