982 karma · joined Jul 7, 2016 (10y ago) · 339 submissions
comment 10y ago · link · parent
comment 10y ago · link · parent
I would like to request more details on your answer.
1. What kind of ES6 requires transpiling to ES5. I mean, I once tried using Promise and something like Promise.resolve("foo") works just fine. Are there any ES6 constructs that would require transpiling, to work fine on, say, Chrome or Firefox?
2. Is ES6 not completely backward compatible with ES5? If yes, I would consider ES6 as the same (although upgraded version of) language as ES5. If no (e.g. Python 2 vs. Python 3), then it would be justified to consider ES6 to be different from ES5. What's your opinion?
Disclaimer: I am not a JavaScript developer. I am a system programmer. But I do a little bit of web-designing once in a while, for example, to maintain my blog etc. That's why I would like to understand why ES6 is considered a different language than ES5.
comment 10y ago · link · parent
I thought ES6 is just a new version of JavaScript (the ECMAScript standard)? I thought both are written using the same HTML <script> tag. Why is it necessary to consider ES6 different from JavaScript in this survey?
Could you please throw some light on this?