DEV Community

loading...

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

Davyd McColl
Code monkey extraordinaire
・1 min read

because I have no idea what "this" is.

Discussion (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...