Subscribe to Evented Mind to watch the full video.

Already have an Evented Mind subscription?

Subscribe to Evented Mind to watch the full video.

Need a second look? Watch again

ES2015

How "Classes" Worked Before

JavaScript has always supported class-like behavior by using constructor functions, prototype objects and prototypal property lookup. But the mechanics were very confusing, and if you wanted "class" inheritance you would have to write a function yourself. In this video we'll take a trip down memory lane so you can see why the new "class" and "extends" keywords are so much better.

  • JavaScript
Join the Discussion

Want to leave a comment? .