- It makes more sense for ECMAScript to turn illegal values into null
since it runs on the client.
Like... node.js?
Sorry, just kidding.
I don't think it makes sense for clients to be less strict about such
things, but I do agree with your assessment about being as strict as
possible on the server. I also do think that exceptions are a perfect
tool especially for server applications and that instead of avoiding
them because they are slow, they should better be made fast enough to
not be an issue.