DEV Community 👩‍💻👨‍💻

Davyd McColl
Davyd McColl

Posted on

I can't say "this sucks" about Javascript...

because I have no idea what "this" is.

Top comments (4)

Collapse
adrianhelvik profile image
Adrian

Quick fix:

Object.defineProperty(
  Object.prototype,
  'sucks',
  {
    value: 'Does it?',
    enumerable: false
  }
)
Collapse
fluffynuts profile image
Davyd McColl Author

😂

Collapse
tmthyrd profile image
Timothy Reid

I try not to get in a bind about it

Collapse
fluffynuts profile image
Davyd McColl Author

I'll try to call you out on that if you don't apply it...

🤔 Did you know?

 
DEV has a variety of tags to help you find the content you like. Find and follow your favorite tags.