DEV Community

Discussion on: The easiest problem you cannot solve.

Collapse
 
theoutlander profile image
Nick Karnik

This call makes no sense in reality, but it will yield the desired output:

K.call(1,2)()
Collapse
 
joelnet profile image
JavaScript Joel

Pretty interesting solution. You are binding the first value to this so that the a gets set as your second argument. Very creative!