Heads up! To view this whole video, sign in with your Courses account or enroll in your free 7-day trial. Sign In Enroll
- When Object Literals Aren’t Enough 3:04
- Writing Your First Class 3:28
- Adding Properties Inside the Constructor Method 2:33
- Creating a new class 3 objectives
- Instantiating a Pet Object 2:32
- Instantiating an object 1 objective
- Adding Methods To Our Class 3:15
- Adding methods to classes 2 objectives
- Review Working with Classes in JavaScript 4 questions

- 2x 2x
- 1.75x 1.75x
- 1.5x 1.5x
- 1.25x 1.25x
- 1.1x 1.1x
- 1x 1x
- 0.75x 0.75x
- 0.5x 0.5x
Learn how to declare a class and add a constructor method.
Resources
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up-
Joel Greek
4,421 Points1 Answer
-
Rushabha Jain
Full Stack JavaScript Techdegree Student 11,141 Points2 Answers
-
John Cannon
Full Stack JavaScript Techdegree Student 3,161 Points1 Answer
-
Ashley Tee
10,198 Points4 Answers
-
Mike Hatch
14,940 PointsAre JavaScript Classes Controversial or Widely Accepted?
Posted by Mike HatchMike Hatch
14,940 Points1 Answer
-
Sean Flanagan
33,236 Points1 Answer
-
Yosif Qassim
6,367 Points4 Answers
View all discussions for this video
Related Discussions
Have questions about this video? Start a discussion with the community and Treehouse staff.
Sign up
You need to sign up for Treehouse in order to download course files.
Sign upYou need to sign up for Treehouse in order to set up Workspace
Sign up