News

Implementing inheritance Let’s image what we want to create with this hierarchy using JavaScript: First of all, we can create ClassA easily.
Yeah, if prototypical inheritance works for the problem, then the issue of weird constructor calls doesn't come up, because the base class will already exist as a useful object.
JavaScript classes provide a much simpler and clearer syntax to create objects and deal with inheritance." A StrongLoop blog post echoes the "syntactic sugar" angle. "ECMAScript 2015, formerly known ...