3 ms·
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.ba
by jganetsk 17y ago
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.