D | default-parameters-destructuring.js | 33 function f72({[eval("var x = 2; 'a'")]: w, b = eval("x")}) { return b; } function in TestSloppyEvalScoping 34 assertEquals(2, f72({})); 35 assertEquals(2, f72({a: 0})); 103 function f72({[eval("var x = 2; 'a'")]: w, b = eval("x")}) { return b; } function in TestStrictEvalScoping 104 assertEquals(1, f72({})); 105 assertEquals(1, f72({a: 0}));
|