Adds support for ES 2015 classes! You can now do:
newless(class {
constructor() {...}
someMethod() {...}
anotherMethod() {...}
});
Newless classes can extend other classes, newless classes, or function constructors and vice versa.
Adds support for ES 2015 classes! You can now do:
newless(class {
constructor() {...}
someMethod() {...}
anotherMethod() {...}
});
Newless classes can extend other classes, newless classes, or function constructors and vice versa.