JavaScript Factory Functions vs Constructor Functions vs Classes
Eric Elliott

Also, the concept of classes is actually good and a common practice in OO. The problem is that, es6 could’ve done it better. get rid of “this”. haha. improve class closure and support private properties and methods.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.