Skip to content

Instantly share code, notes, and snippets.

@valueof
Forked from hzr/gist:3183910
Created July 26, 2012 20:18
Show Gist options
  • Select an option

  • Save valueof/3184261 to your computer and use it in GitHub Desktop.

Select an option

Save valueof/3184261 to your computer and use it in GitHub Desktop.

Revisions

  1. @hzr hzr created this gist Jul 26, 2012.
    6 changes: 6 additions & 0 deletions gistfile1.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    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";
    })();