This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Learn that calling a class like a regular function throws a TypeError, unlike old constructor functions.
You've completed the free preview. Subscribe to unlock every lesson in every course.