ES6…hmmm?
First of all, it should be understood that ES6 is not entirely supported by browsers so certain compilers/polyfills or transpilers like babel and module bundlers like webpack might be needed, which converts the ES6 to ES5 understandable by the browsers!