Question d’entretien chez KAYAK

How would you implement the bind function in javascript?

Réponse à la question d'entretien

Utilisateur anonyme

21 oct. 2015

This one is pretty tricky, especially since I don't typically use bind. The interviewer helped me through it - you have to return an anonymous function that involves calling the "call" function with the external scope.