Debian Codegraph @

js/src/tests/test262/language/arguments-object/mapped/Symbol.iterator.js

raw
1 // Copyright (C) 2014 the V8 project authors. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3 /*---
4 es6id: 9.4.4.7 S22
5 description: >
6 Mapped arguments exotic objects should implement the Array iterator
7 protocol.
8 includes: [propertyHelper.js]
9 flags: [noStrict]
10 features: [Symbol.iterator]
11 ---*/
12
13 (function() {
14 verifyProperty(arguments, Symbol.iterator, {
15 value: [][Symbol.iterator],
16 writable: true,
17 enumerable: false,
18 configurable: true,
19 });
20 }());
21
22 reportCompare(0, 0);