Debian Codegraph @

js/src/tests/test262/language/arguments-object/unmapped/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.6 S7
5 description: >
6 Unmapped 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 'use strict';
15
16 verifyProperty(arguments, Symbol.iterator, {
17 value: [][Symbol.iterator],
18 writable: true,
19 enumerable: false,
20 configurable: true,
21 });
22 }());
23
24 reportCompare(0, 0);