Object Oriented JavaScript Tutorial #4 – Classes




Hey gang, in this Object Oriented JavaScript tutorial, we’ll take a look at classes and why we’d use them. JavaScript classes can be used to easily create objects of a specific type/class. Although classes don’t technically exist in JS, the class keyword emulates the idea of having classes.

πŸ±β€πŸ’» Course Links:

– VS Code editor – https://code.visualstudio.com/
– GitHub repository (course files) – https://github.com/iamshaunjp/object-oriented-js
– JavaScript for Beginners – https://www.youtube.com/watch?v=qoSksQ4s_hg&list=PL4cUxeGkcC9i9Ae2D9Ee1RvylH38dKuET

πŸ€‘ Donate @ https://www.paypal.me/thenetninja

πŸŽ“Find me on Udemy @ https://www.udemy.com/user/47fd83f6-5e4a-4e87-a0f0-519ac51f91b6/

πŸ‘Ύ Video thumbnail artwork by PixelSwish @ https://www.youtube.com/channel/UCGKSD3mitWl5UpMxZzaIrRA

Original source


9 responses to “Object Oriented JavaScript Tutorial #4 – Classes”

  1. I agree – knowledge of prototypal inheritance is important. If you're already using classes in other languages then the transition to JS will be easier using ES6 classes. Classes were mostly introduced for Java programmers to make the transition. Otherwise, you're better off learning how prototypes work to 'think' in JS. I think it's more difficult going from class syntax to prototypes than the other way around. Thanks for the videos net ninja.

Leave a Reply