Re:Learning Advanced JavaScript (2008)
by RandomInteger4 on Sunday December 11, 2016 @12:46AM
(#13149789)
To be fair, the syntax of the variable initialization could be separated into 3 lines for better clarity.
Is that function that insane? I can understand it at a glance, and performance is high (it matters here). AS a JS programmer, just knowing that it is an implementation of bind() should be enough of a hint that it uses its first argument as context, the rest as a curry and the arguments of the newly generated function as additional arguments.