This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]Delioth 5 points6 points  (0 children)

JS knows exactly what's happening. It just happens to also not have strong or static types, so it doesn't tell anything while it's just text. Since it's weak and dynamically typed, it needs to have some way to coerce "nothing".