News

class Song { static label = "Exile"; } The field is then only accessible via the class name, Song.label. Unlike Java, the JavaScript instances do not hold a reference to the shared static variable.
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 ...
Although the TextEdit element is still using those classes under the hood, they aren't accessible. Instead, you get simple JavaScript wrapper methods that are a lot less functional and powerful.