| 1 |
// Copyright (C) 2015 the V8 project authors. All rights reserved. |
| 2 |
// This code is governed by the BSD license found in the LICENSE file. |
| 3 |
/*--- |
| 4 |
es6id: 19.4.2.4 |
| 5 |
description: > |
| 6 |
`Symbol.iterator` property descriptor |
| 7 |
info: | |
| 8 |
This property has the attributes { [[Writable]]: false, [[Enumerable]]: |
| 9 |
false, [[Configurable]]: false }. |
| 10 |
includes: [propertyHelper.js] |
| 11 |
features: [Symbol.iterator] |
| 12 |
---*/ |
| 13 |
|
| 14 |
assert.sameValue(typeof Symbol.iterator, 'symbol'); |
| 15 |
verifyNotEnumerable(Symbol, 'iterator'); |
| 16 |
verifyNotWritable(Symbol, 'iterator'); |
| 17 |
verifyNotConfigurable(Symbol, 'iterator'); |