Ad
  • Custom User Avatar

    .. how they work and when to use them.

    It is also up to ourselves to understand how to use them. You are skipping over that completely. Adding enumerable properties to prototypes, esp. Object ( and Array ), is ++UnGood. And you can test for that.

    Adding properties to Object.prototype just isn't 7 kyu kata material; there's too much subtlety and possile breakage involved.

    My opinion.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution