10.5-7-b-3-s.js (451B)
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: 10.5-7-b-3-s 6 description: > 7 Adding property to the arguments object successful under strict mode 8 ---*/ 9 10 function _10_5_7_b_3_fun() { 11 arguments[1] = 12; 12 return arguments[0] === 30 && arguments[1] === 12; 13 }; 14 15 assert(_10_5_7_b_3_fun(30), '_10_5_7_b_3_fun(30) !== true'); 16 17 reportCompare(0, 0);