Skip to content

Instantly share code, notes, and snippets.

@hzr
Created July 26, 2012 19:15
Show Gist options
  • Save hzr/3183910 to your computer and use it in GitHub Desktop.
Save hzr/3183910 to your computer and use it in GitHub Desktop.
Check for Opera bug with nested redirected calls
var hasWorkingNestedRedirectedCalls = (function () {
function f(a) { return function() { return a.apply(this, arguments); }}
var g1 = f(function(a) { return a; });
var g2 = new g1(g1);
return typeof g2 == "function";
})();
@hzr
Copy link
Author

hzr commented Jul 26, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment