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 thoughts on “Object Oriented JavaScript Tutorial #4 – Classes

  • February 20, 2019 at 15:04

    Wait, what the heck is an ES6? I thought I was learning JavaScript. Is this a library I have to load? Is it just something shipping with browsers? Since when? Do I need to worry about browser versions?

  • February 20, 2019 at 15:04

    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.

  • February 20, 2019 at 15:04

    Hey! I'm honored to be the first commentator! The 'class' in Javascript has been bothering me all the time. This is the opportunity to get rid of my uncertainty about it. Thank you so much!!

Leave a Reply