Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Both of our implementations have broken this. Damn you, Javascript this.

In principle, these two lines of code should always produce the same result:

  foo.bar(1,2)
and

  foo.bar(1)(2)
And they won't necessarily in our case, if the function uses this.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: