test262/test/language/arguments-object/mapped/Symbol.iterator.js

21 lines
519 B
JavaScript

// Copyright (C) 2014 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
es6id: 9.4.4.7 S22
description: >
Mapped arguments exotic objects should implement the Array iterator
protocol.
includes: [propertyHelper.js]
flags: [noStrict]
features: [Symbol.iterator]
---*/
(function() {
verifyProperty(arguments, Symbol.iterator, {
value: [][Symbol.iterator],
writable: true,
enumerable: false,
configurable: true,
});
}());