You must log in or register to comment.
Theoretically, Javascript is an untyped language, so there aren’t supposed to really be static types. Giving type errors in this situation would be against design.
Maybe the design is bad, then.
Lol you’ll get no argument from me. It’s not my favorite language.
Theoretically, Javascript is an untyped language…
Function only handles string arguments correctly. Wat.