Hacker News new | ask | show | jobs
by masklinn 2998 days ago
> For a simple es2015 it looks a bit more complicated than the prototype extension [2].

That's because it provides somewhat different features and Babel apparently attempts to replicate them properly. For instance "class" methods are non-enumerable by default, whereas "prototype" methods — being bog-standard properties — are.