News for hackers. Stuff that matters.
Re:Future JavaScript: what is still missing? by kitten_mittens_ on Sunday January 27, 2019 @04:32PM (#19013914)
> a class in most languages is just a group of related static functions.

In class oriented languages like C# and Java, sure. JS with ES modules has the alternative of using functions exported directly from a module.

The latter approach has the benefit of better tree shaking than the class based equivalent.

There are no comments on this comment yet.