3 ms·
Map passes three arguments to parseInt but parseInt only takes two. I think a language with a type system ought to have a way to get a warning for that kind of
by jjnoakes 4y ago
Map passes three arguments to parseInt but parseInt only takes two. I think a language with a type system ought to have a way to get a warning for that kind of thing. Especially when it does so in other contexts.
I understand why it is this way, but I think it is very surprising and unintuitive behavior.