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
2 compare = (function() {
3 function inner() { return inner.caller; };
4 globalInner = inner;
5 globalClosure = inner();
6 return function(f) { return f === inner; }
7 })();
8
9 assertEq(compare(globalInner), true);
10 globalClosure();
11 assertEq(compare(globalInner), false);