3 ms·
> 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 appare
by masklinn 9y 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.