mirror of https://github.com/tc39/test262.git
25 lines
763 B
JavaScript
25 lines
763 B
JavaScript
// Copyright (C) 2016 the V8 project authors. All rights reserved.
|
|
// This code is governed by the BSD license found in the LICENSE file.
|
|
/*---
|
|
esid: sec-@@iterator
|
|
es6id: 26.3.2
|
|
description: Property descriptor
|
|
info: >
|
|
ES6 Section 17
|
|
|
|
Every other data property described in clauses 18 through 26 and in Annex
|
|
B.2 has the attributes { [[Writable]]: true, [[Enumerable]]: false,
|
|
[[Configurable]]: true } unless otherwise specified.
|
|
flags: [module]
|
|
includes: [propertyHelper.js]
|
|
features: [Symbol.iterator]
|
|
---*/
|
|
|
|
import * as ns from './list-iter-next-prop-desc.js';
|
|
var iter = ns[Symbol.iterator]();
|
|
|
|
assert.sameValue(typeof iter.next, 'function');
|
|
verifyNotEnumerable(iter, 'next');
|
|
verifyWritable(iter, 'next');
|
|
verifyConfigurable(iter, 'next');
|