DEV Community

Discussion on: 4 Static Object Methods I Wish I Knew About Sooner

Collapse
jreinhold profile image
Jeppe Reinhold

Sure, that works!
But I've never been a fan of extending built-in prototypes - seems like an anti-pattern to me.
It makes code harder to read and understand, and isn't very future proof (just look at #SmooshGate)

Thread Thread
ricobrase profile image
Rico Brase

Totally agreeing with you on that one. 👍