Introduction
JavaScript is a language of Web. This series of articles will talk about my observations learned during my decade of software development experience with JavaScript.
Before moving further let us look at the previous articles of the series:
- Voice of a Developer: JavaScript Data Types - Part One
- Voice of a Developer: JavaScript Objects - Part Two
- Voice of a Developer: JavaScript Engines - Part Three
- Voice of a Developer: JavaScript Common Mistakes - Part Four
- Voice of a Developer: Editors - Part Five
- Voice of a Developer: VSCode - Part Six
- Voice of a Developer: Debugging Capabilities of VSCode - Part Seven
- Voice of a Developer: JavaScript OOP - Part Eight
- Voice of a Developer: JavaScript Useful Reserved Keywords - Part Nine
- Voice of a Developer: JavaScript Functions - Part Ten
- Voice of a Developer: JavaScript Functions Invocations - Part Eleven
- Voice of a Developer: JavaScript Anonymous Functions - Part Twelve
- Voice of a Developer: JavaScript Pure And Impure Function - Part Thirteen
- Voice of a Developer: JavaScript Closures - Part Fourteen
- Voice of a Developer: JavaScript Currying - Part Fifteen
- Voice of a Developer: JavaScript Chaining - Part Sixteen
- Voice of a Developer: JavaScript Array Methods - Part Seventeen
ECMAScript History
Current Edition
ECMAScript 6 (ES6) compatibility

Q: Does it mean that we cannot use ES6 for old browsers?
Implement ES6 older browsers
Transpiler
- Traceur: It supports ES6 as well as ES.next features. For more information checkout.
- Babel: It was known as 6to5 previously. Now it is renamed to Babel.
Q: What is the quickest way to test JavaScript?
Browser Console
Explore ES6
Developer tools in Browsers
- Edge
It provides good support to ES6 script which you can validate at kangax. If you are using IE11 then ensure that you have Edge emulation selected in Developer tools F12
Currently Microsoft Edge browser scores around 80% on ES6 compatibility table. Edge is based on Chakra engine and suppors many features like classes etc. If you are interested in more details to understand roadmap of Microsoft, please visit. - Chrome
Many ES6 features are hidden behind a flag called "Experimental JavaScript features". In browser enter URL: chrome://flags/#enable-javascript-harmony, enable this flag, restart Chrome.
Chrome V8 release 4.9 JavaScript engine support 91% ES6You can try Firefox, Safari, Opera, etc. also - REPLScratchJS: Install chrome extensions where you could try different transpilers to test out the new ES6 features.URL
Open DevTools and “Scratch JS” is added into it.
We have a transformer Babel selected where we can transform ES6 to ES5. Here is a sample ES6 code which you could paste in the left pane,
- class Point {
- constructor(x, y) {
- this.x = x;
- this.y = y;
- }
- print() {
- console.log('x: ' + this.x);
- console.log('y: ' + this.y);
- }
- }
- var p = new Point(1, 2);
- p.print();


Fiddle
Adoption
- Do you want to use in existing or new (greenfield) project?
- Do you want to use it at the client or server-side like NodeJS?
- Do you want to use in a mobile framework like Cordova?
I always believe for projects half a job is done if we use the right tools. So do requirement analysis and match the right tools and then use them in your project.
Please share your comments and stay tuned for upcoming articles in Voice of Developer series at our favorite website C# Corner.
Rajib Das GuptaPosted Jun 7, 2016, 10:32 AM
Good
Sabyasachi MishraPosted May 20, 2016, 12:21 AM
Good one
Mohammed IbrahimPosted May 19, 2016, 6:20 AM
nice
Guest UserPosted May 19, 2016, 2:56 AM
Thanks guys for enourmous response!
Vishal PatelPosted May 18, 2016, 10:26 AM
good one
Satish Kumar VadlavalliPosted May 16, 2016, 3:51 AM
Nice share
Guest UserPosted May 15, 2016, 7:57 PM
Thanks Bhuvanesh & others! your comments , feedback motivates me
Bhuvanesh MohankumarPosted May 15, 2016, 3:53 PM
Great article Sumit Jolly
Debasis SahaPosted May 14, 2016, 1:55 AM
Good One..
Sonu ChaudharyPosted May 13, 2016, 1:38 PM
good one
Sr KarthigaPosted May 13, 2016, 10:55 AM
good one sir
Vignesh ManiPosted May 13, 2016, 7:07 AM
Good one
Shridhar SharmaPosted May 13, 2016, 6:25 AM
nice series sir
Guest UserPosted May 13, 2016, 5:59 AM
thanks buddy
Thiruppathi RPosted May 13, 2016, 5:03 AM
Nice..