Bug 1892041 - Part 2: Update test262. r=spidermonkey-reviewers,dminor
[gecko.git] / js / src / tests / test262 / built-ins / Array / from / Array.from_arity.js
blob9442265a5eab5472f3dc64414e94a56137b51634
1 // Copyright (c) 2014 the V8 project authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 /*---
5 esid: sec-array.from
6 description: >
7   The length property of the Array.from method is 1.
8 info: |
9   22.1.2.1 Array.from ( items [ , mapfn [ , thisArg ] ] )
11   ...
13   The length property of the from method is 1.
14 includes: [propertyHelper.js]
15 ---*/
17 verifyProperty(Array.from, "length", {
18   value: 1,
19   writable: false,
20   enumerable: false,
21   configurable: true
22 });
24 reportCompare(0, 0);