Message from JavaScript discussions

November 2018

— Why is callArgs different from call?


Hz would return control and transpose the return value of otherThing inside the user code, which then yields right away again to call thing with the argument

— To avoid having to check for array?

— Correct

— Just a little tiny micro-opt

— Aight :P

— Your code could benefit from TypeScript I think

— TypeScript has polymorphism

— Perhaps

— So you just define two functions named call

— I was considering it

— And typescript will replace the usages with args with the correct one