Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review: https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
1 var a = function() {
2 return function ({x: arguments}) {
3 return arguments;
4 }
5 }
6 var b = eval(uneval(a));
7
8 assertEq(a()({x: 1}), 1);
9 assertEq(b()({x: 1}), 1);
10
11 if (typeof reportCompare === "function")
12 reportCompare(true, true);