Check out a free preview of the full Data Structures and Algorithms in JavaScript course:
The "Exercise: Creating a Constructor" Lesson is part of the full, Data Structures and Algorithms in JavaScript course featured in this preview video. Here's what you'd learn in this lesson:

In this exercise, you will create a unique constructor that creates a building of your choice. Your constructor will use the pseudoclassical JavaScript pattern.

Get Unlimited Access Now

Transcript from the "Exercise: Creating a Constructor" Lesson

[00:00:00]
>> Bianca Gandolfo: All right, so we're just gonna do a practice exercise together, we're gonna take ten minutes to create a unique constructor. So create your own constructor that makes a building of your choice. So instead of building, right, you might wanna have log cabin, or industrial skyscraper or whatever.