|
1 /// Copyright (c) 2012 Ecma International. All rights reserved. |
|
2 /// Ecma International makes this code available under the terms and conditions set |
|
3 /// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the |
|
4 /// "Use Terms"). Any redistribution of this code must retain the above |
|
5 /// copyright and this notice and otherwise comply with the Use Terms. |
|
6 /** |
|
7 * @path ch10/10.5/10.5-7-b-4-s.js |
|
8 * @description Strict Mode - Deleting property of the arguments object successful under strict mode |
|
9 * @onlyStrict |
|
10 */ |
|
11 |
|
12 |
|
13 function testcase() { |
|
14 "use strict"; |
|
15 |
|
16 function _10_5_7_b_4_fun() { |
|
17 var _10_5_7_b_4_1 = arguments[0] === 30 && arguments[1] === 12; |
|
18 delete arguments[1]; |
|
19 var _10_5_7_b_4_2 = arguments[0] === 30 && typeof arguments[1] === "undefined"; |
|
20 return _10_5_7_b_4_1 && _10_5_7_b_4_2; |
|
21 }; |
|
22 return _10_5_7_b_4_fun(30, 12); |
|
23 } |
|
24 runTestCase(testcase); |