3 ms·
I see really only: strict mode, weakmap, bind, typed arrays, maybe spread. (+ async mentioned earlier) The rest as far as I can see can be either written as you
by viraptor 2y ago
I see really only: strict mode, weakmap, bind, typed arrays, maybe spread. (+ async mentioned earlier) The rest as far as I can see can be either written as your own function or babel-style compilation. Sure, today's code would be nicer/shorter, but... the language itself really didn't change that much, just how we use it / what we expect from it.
- paulddraper 2y ago> babel-style compilation "It's not a different language, because you could have another language compile to it."
- viraptor 2y agoThis has been the situation for years though. Only recently did we get reasonable native support for most new standards by default. Babel compilation down to IE level was really common just few years ago. Most of the "modern JS" stuff was based on that idea. Teams was released before even the modules existed in the browsers.