3 ms·
Understanding 'this' is foundational when it comes to understanding JavaScript, IMO. So, I don't think it's that unusual. Out of curiosity, what's another quest
by bzalasky 11y ago
Understanding 'this' is foundational when it comes to understanding JavaScript, IMO. So, I don't think it's that unusual. Out of curiosity, what's another question that demonstrates a solid understanding of JavaScript as a language?
- fragmede 11y agoYeah, but returning 'this' to let you chain things like that? Definitely a trick. Not as obscure as Duff's device, but a trick, nonetheless.