2 * Any copyright is dedicated to the Public Domain.
3 * http://creativecommons.org/licenses/publicdomain/
5 load(libdir + 'array-compare.js');
9 function strictNestedAssignShadowCatchCall(p)
19 var f = function innermost() { p = 1776; return 12; };
28 for (var i = 0; i < 5; i++)
30 a1 = strictNestedAssignShadowCatchCall();
31 a2 = strictNestedAssignShadowCatchCall(99);
32 a3 = strictNestedAssignShadowCatchCall("");
33 a4 = strictNestedAssignShadowCatchCall(obj);
36 assertEq(arraysEqual(a1, []), true);
37 assertEq(arraysEqual(a2, [99]), true);
38 assertEq(arraysEqual(a3, [""]), true);
39 assertEq(arraysEqual(a4, [obj]), true);