Apr 21: Prototypes, Classes
Learning Objectives
After today’s class, you should be able to:
- Explain how JavaScript prototypes enable inheritance and shared behavior.
- Create objects using ES6 class syntax with constructors and methods.
- Compare prototype-based inheritance with class-based syntax in JavaScript.
Lesson Outline
Lecture [25 min]
- Chapter 10: Slides 11–20
- Demo: AST classes in Praxly2
Activity [50 min]
- Data Binding with Reflex
- Project claims (3 min per team)