13.2-15-1.js (508B)
1 // Copyright (c) 2012 Ecma International. All rights reserved. 2 // This code is governed by the BSD license found in the LICENSE file. 3 4 /*--- 5 es5id: 13.2-15-1 6 description: > 7 Function Object has length as its own property and does not invoke 8 the setter defined on Function.prototype.length (Step 15) 9 includes: [propertyHelper.js] 10 ---*/ 11 12 var fun = function (x, y) { }; 13 14 verifyProperty(fun, "length", { 15 value: 2, 16 writable: false, 17 enumerable: false, 18 configurable: true, 19 }); 20 21 reportCompare(0, 0);