4 ms·
Can you give me an example of a "JS enhancement" you are talking about? Its not that I don't believe you I just am curious. I haven't changed the way I, persona
by nommm-nommm 10y ago
Can you give me an example of a "JS enhancement" you are talking about? Its not that I don't believe you I just am curious. I haven't changed the way I, personally, written Javascript since jQuery came out so I'm not up with the new stuff.
- rfrey 10y agoClass syntax - https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Classes https://developer.mozilla.org/en/docs/Web/JavaScript/Referen...
- Roboprog 10y agoYep. TypeScript !== JavaScript, but it's along a similar misdirection. Then there's "let". I guess it's not hurting anything, but how useful an addition is it, really? How many nested, non function, blocks you got in your code, buddy, that you need a new scope for your nested for-loops and else-ifs?!? Between things like forEach, map, filter, etc, I don't actually write very many manual loops anymore, and often use an IIFE for something that outgrows a ternary. Most of my "blocks" are functions.