Skip to content Skip to sidebar Skip to footer

Babeljs Doesn't Transpile Extended Classes Properly

I've got this example code from MDN (slightly modified to print out results): It works on Google Chrome browser and node5, but when I transpile it using babeljs to ES5 (ES2015 pre

Solution 1:

According to ECMAScript 6 compatibility table, BabelJS doesn't support class extends.


Post a Comment for "Babeljs Doesn't Transpile Extended Classes Properly"