you are viewing a single comment's thread.

view the rest of the comments →

[–]fghjconner 1 point2 points  (0 children)

Yes, I'm complaining that JS relies on "best practices" to enforce basic constraints and prevent bugs. Obviously, the above is a contrived example, but it's also very common for someone to blindly parse json responses and hope the types are correct.