5 ms·
I think it's just about how much legacy code, and in which sites. +1 though. I'd really like to see a version of JavaScript not only with new features, but als
by aylmao 8y ago
I think it's just about how much legacy code, and in which sites.
+1 though. I'd really like to see a version of JavaScript not only with new features, but also without some (all?) of the weird semantics it was once dreaded for. That can certainly only happen if it's versioned.
- jacobush 8y agoYes but... I don't envy those who would have to maintain and publish several subsets of the Javascript language. And you would almost certainly have to specify in the source code which version of the language you wanted to adhere too. You couldn't assume it would be the latest, because that would break your code in the future, when the latest version has deprecated whatever feature you relied upon way back. Ugly no matter how you look at it.