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.

Speedy emails, satisfied customers

Postmark Image

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs