3 ms·
The `$.extend` example seems a little overdone -- isn't `Object.assign({}, objA, objB)` a sufficient replacement for most uses?
by Twisol 8y ago
The `$.extend` example seems a little overdone -- isn't `Object.assign({}, objA, objB)` a sufficient replacement for most uses?
- h1d 8y agoThe simplicity of the grammar is what counts here.
- Twisol 8y agoI actually meant to reply to https://news.ycombinator.com/item?id=17612990 https://news.ycombinator.com/item?id=17612990 , which mentions http://youmightnotneedjquery.com/ http://youmightnotneedjquery.com/ as a point of comparison between jQuery and vanilla JS. For some reason I thought that was the top-level article, not the linked tweet.