DEV Community

Discussion on: The easiest problem you cannot solve.

Collapse
 
kip13 profile image
kip • Edited
> K.call(null, (cat, dog))()
'dog'

> K.apply(null, [cat, dog].reverse())()
'dog'
> (cat, K(dog))()
'dog'
> K(((...args) => args[1])(cat, dog))()
'dog'
Collapse
 
joelnet profile image
JavaScript Joel

Congratulations

So many unique solutions. Fantastic!