Closed jeron-diovis closed 1 week ago
https://github.com/avoidwork/tiny-monad/blob/master/src%2Fmonad.js#L43
args || []
Is this a misprint? Probably arguments should be here?
arguments
Also, what the sense is in doing arguments || []? Arguments object always exist in function.
arguments || []
yup, looks like something left over from a quick edit/refactor.
https://github.com/avoidwork/tiny-monad/blob/master/src%2Fmonad.js#L43
Is this a misprint? Probably
arguments
should be here?Also, what the sense is in doing
arguments || []
? Arguments object always exist in function.