Tried to use ES6 syntax for classes and found that the output is not desired in some cases. As far as I understood by default it expects that a class can be inherited therefore adds some extra stuff. But in the real world not all classes need this addition, so I think it will be valuable to have something like below:
Hi @termi.
Tried to use ES6 syntax for classes and found that the output is not desired in some cases. As far as I understood by default it expects that a class can be inherited therefore adds some extra stuff. But in the real world not all classes need this addition, so I think it will be valuable to have something like below:
yields
Such behavior might be declared using (for example):
Thoughts?