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.
RE: JavaScript - hasOwnProperty in `for-in` loops
You are viewing a single comment's thread from:
JavaScript - hasOwnProperty in `for-in` loops