DEV Community

Joe Steinbring
Joe Steinbring

Posted on • Originally published at blog.jws.app on

JavaScript Classes

Previously, on the main blog we looked at arrow functions. This week, I figured that we would look at Classes. Support for classes was another thing added to JavaScript with ES6.

In the above example, there is a Person class and a Person2 class. The difference between the two is that Person2 has a default value for the birthday and Person doesn’t. Easy enough. πŸ™‚

Have a question, comment, etc? Feel free to drop a comment, below.

The post JavaScript Classes first appeared on Blog.jws.

Top comments (0)