Created
May 11, 2016 03:09
-
-
Save raganwald/04ad5586e02b9f0bf066f34989bb0f6b to your computer and use it in GitHub Desktop.
My new favourite interview question
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var a = [ | |
function () { console.log(1); }, | |
function () { console.log(2); }, | |
function () { console.log(3); } | |
]; | |
a.forEach(Function.prototype.call.bind(Function.prototype.call)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment