Step 4. Classes in JavaScript

Daniel Shiffman shows how to use the class keyword to make objects.

The World makes two randomly moving objects.

World

Tutorial 6.2
Classes in JavaScript
Tweet this step: