Y
Hacker News
new
|
ask
|
show
|
jobs
by
jessaustin
4984 days ago
To confirm my understanding, would the erroneous line from the comment above be rewritten like:
button.onclick = obj.func.bind(obj);
So un-DRY! It's almost admirable, how blatant a hack this is.