j.silver Posted November 25, 2016 Share Posted November 25, 2016 Dear all, Are JS tutorials of W3Schools written using the latest version of JS, known as ES6 (ECMAScript 6)? Link to comment Share on other sites More sharing options...
Ingolme Posted November 26, 2016 Share Posted November 26, 2016 The tutorials teach the basics which are not scheduled to change. They teach Javascript which is compatible with all modern browsers. Link to comment Share on other sites More sharing options...
davej Posted November 26, 2016 Share Posted November 26, 2016 The tutorials are essentially ES5. ES6 is a massive change in the language. Link to comment Share on other sites More sharing options...
thescientist Posted November 28, 2016 Share Posted November 28, 2016 The tutorials are essentially ES5. ES6 is a massive change in the language. I wouldn't say that necessarily as that kind of wording may lead one to think that a lot of things that are in ES5 wouldn't be the same or might even be broken in ES6. In fact, there is no backwards incompatibility between the two and in fact most of what was added in ES6 is just syntactic sugar on top of what is already part of ES5. One way to put it is that all the ES6 features are essentially opt-in, so if you need them use them, otherwise nothing stops one from continuing to "use" ES5. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now