Fri, 16 Jan 2015 04:50:19 +0100
Replace accessor implementation with direct member state manipulation, by request https://trac.torproject.org/projects/tor/ticket/9701#comment:32
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);