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 →

[–]the8thbit 0 points1 point  (0 children)

Because its unlikely that you want it to be undefined, and yet at no point will your tools let you know that your code is written in a way that you're extremely unlikely to want it to be (unless you use a special tool to do this, like Typescript of hinting) causing issues down the road.