re: What’s your favorite JS interview question? VIEW POST

VIEW PARENT COMMENT VIEW FULL DISCUSSION
 

You can't bind anything to an arrow functions this. But you can bind arguments to them. ie:

((arg) => console.log(arg)).bind(null, "done")()

would work.

code of conduct - report abuse