Subscribe to Evented Mind to watch the full video.

Already have an Evented Mind subscription?

Subscribe to Evented Mind to watch the full video.

Need a second look? Watch again

ES2015

Classes

Classes allow you to define methods that are shared across objects. You can also inherit from other classes. Classes in ES6 still use constructor functions and the prototype chain under the hood. But the new syntax makes following this pattern much easier. You can also define static methods directly in the class body.

  • JavaScript
Join the Discussion

Want to leave a comment? .