You are viewing a single comment's thread from:
RE: JavaScript - hasOwnProperty in `for-in` loops
Yes and for example, If you write an Web Application, then you may use many libraries as dependencies.
and those libraries could change Object.prototype
at anytime. So you'd better to use safer way.