What if the API is not in your hand and you have no control over it?
I don't see it being overused in ruby or c# or any other language. Why should this happen in JS?
Assuming that objects returned from third-parties conform to a specific structure (and therefore, not 'verifying' their structure and the presence/lack-thereof of expected properties) is most-likely a security blunder.
Sorry, I don't fully understand what you mean.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
What if the API is not in your hand and you have no control over it?
I don't see it being overused in ruby or c# or any other language. Why should this happen in JS?
Assuming that objects returned from third-parties conform to a specific structure (and therefore, not 'verifying' their structure and the presence/lack-thereof of expected properties) is most-likely a security blunder.
Sorry, I don't fully understand what you mean.