Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
phillipwills
on July 31, 2015
|
parent
|
context
|
favorite
| on:
Open Letter to Microsoft’s CEO: Don’t Roll Back th...
Just because you don't understand the JavaScript this, doesn't mean it's broken. It behaves exactly the same way every time you use it... It refers to the object that called the function (unless, of course you or someone else overrode it).
tkubacki
on July 31, 2015
[–]
just because I say 'this' is broken, it doesn't mean I don't understand how it works.
'this' in JS is misleading and confusing - IMHO it's broken design
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: