• Tuesday , 11 December 2018

Object-oriented Programming in JavaScript: Made Super Simple | Mosh

Code Canyon



🔥Get the COMPLETE course (70% OFF – LIMITED TIME): http://bit.ly/2keDCna

Object-oriented programming in JavaScript: learn all about objects, prototypes, prototypical inheritance, this and more.

Subscribe for more videos:
https://www.youtube.com/channel/UCWv7vMbMWH4-V0ZXdmDpPBA?sub_confirmation=1

TABLE OF CONTENT:

00:00: What is OOP?
01:46: Four Pillars of OOP
08:50: Setting Up the Development Environment 11:07: Objects
11:53: Object Literals
14:58: Factories
17:50: Constructors
23:27: Constructor Property
25:53: Functions are Objects
31:09: Value vs Reference Types
37:00: Adding or Removing Properties
40:54: Enumerating Properties
43:45: Abstraction
47:48: Private Properties and Methods
51:55: Getters and Setters
57:32: Exercise
59:42: Solution

Want to learn more from me? Check out my blog and courses:

http://programmingwithmosh.com
https://www.facebook.com/programmingwithmosh/


Original source

3d Ocean

Related Posts

22 Comments

  1. Nikhil Padmawar
    December 6, 2018 at 12:23

    Thank you very much for this video…. one of the best video for OOP in JavaScript….😀✌️🙌

  2. Geek Studio
    December 6, 2018 at 12:23

    Bro i have no idea what the hell your talking about. I thought this was a tutorial for beginners

  3. peace and love
    December 6, 2018 at 12:23

    Can I use note pad ++for this class?
    Thanks.

  4. peace and love
    December 6, 2018 at 12:23

    Hi Mosh! Thank you for this tutorial. I just subscribed!!

  5. Yashar Habibi
    December 6, 2018 at 12:23

    perfect

  6. Paul Sabularse
    December 6, 2018 at 12:23

    Why is it i cant find live server by ritwick on the extension? All i can see is the live server preview but it only works in html. Please help me

  7. Oleg Tzurikov
    December 6, 2018 at 12:23

    "In Javascript, we don't have the concept of classes" – hmm what??

  8. Fedi S. Gandoura
    December 6, 2018 at 12:23

    Hi, I have a question, why are we defining getters and setters for private variables of objects when they are just temporary variables, I mean their value disappear after calling the function right? for example if we call the setter to set defaultLocation to x:1, y:1, That will create the variable defaultLocation, accord the values 1,1 to x and y then defaultLocation will disappear beacause it's not a property. I hope you got what I'm saying, thank you!

  9. sulabh prasad
    December 6, 2018 at 12:23

    Thanks Mosh for such a wonderful explaination.

  10. cmnweb
    December 6, 2018 at 12:23

    Awesome tutorial, greetings from México

  11. Magda Żelezik
    December 6, 2018 at 12:23

    very well prepared tutorial, comprehensive and simple 🙂 thanks

  12. PanaDelux
    December 6, 2018 at 12:23

    Whats the Problem With writing circle.propertyName instead of circle {'propertyName' } ? Is it different?

  13. Mahdi Arjangi
    December 6, 2018 at 12:23

    Thanks for this helpful video .
    Are you iranian ?

  14. 谢卓晋
    December 6, 2018 at 12:23

    As a new comer to python., I found python is easier to learn and more intuitive than JavaScript. The OOP in js is something I always afraid of……

  15. Ram Maheshwari
    December 6, 2018 at 12:23

    Mosh is a Gift to Planet Earth ❤

  16. Ben Buras
    December 6, 2018 at 12:23

    What a load of incomprehensible garbage! OOP is terrible!

  17. Caroline Kuo
    December 6, 2018 at 12:23

    Awesome!

  18. Subhash Pavuskar
    December 6, 2018 at 12:23

    Well organised… felt like KISS(Keep It Simple Stupid) principle.
    Kudos !!

  19. Earl Bullock
    December 6, 2018 at 12:23

    I Love Course

  20. Sam Chaney
    December 6, 2018 at 12:23

    Does literally every literal just call an internal object constructor function in JavaScript?

  21. Sam Chaney
    December 6, 2018 at 12:23

    Thanks for the video! How is abstraction different from obfuscation?

  22. Sandu Nemitski
    December 6, 2018 at 12:23

    nice

Leave A Comment

You must be logged in to post a comment.