assign-length.js (660B)
1 // Copyright 2015 Microsoft Corporation. All rights reserved. 2 // This code is governed by the license found in the LICENSE file. 3 4 /*--- 5 description: The length property of the assign method should be 2 6 es6id: 19.1.2.1 7 info: | 8 The length property of the assign method is 2. 9 10 ES6 Section 17: 11 12 Unless otherwise specified, the length property of a built-in Function 13 object has the attributes { [[Writable]]: false, [[Enumerable]]: false, 14 [[Configurable]]: true }. 15 includes: [propertyHelper.js] 16 ---*/ 17 18 verifyProperty(Object.assign, "length", { 19 value: 2, 20 writable: false, 21 enumerable: false, 22 configurable: true, 23 }); 24 25 reportCompare(0, 0);