Hey ninjas, in this Object Oriented JavaScript tutorial, I’ll explain how we created objects before the class keyword was introduced – using the original constructor functions.
🐱💻 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
18 responses to “Object Oriented JavaScript Tutorial #9 – Constructors (under the hood)”
hey, I love you and I'm not gay.
Bit new to OOP but I thought 'new' keyword was linked to 'class' keyword so when we are using a function to emulate a class how come we still use 'new' to call it instead of using a standard function call like:
var userOne = user('ninja', 'ninja@ninjutsu.com') ;
what's the difference between prototype and classes?
for me, its one and the same…when do i use one over other?
Can you make a series of tutorial on function JavaScript also..
😍😍
what is theme name You are using at vscode?:)
Can you please cover all the topics in object oriented javascript like promises,closures,callback functions,immediately invoked function expression etc
no video 10?
Another amazing series from you thank you so much. I wanted to ask If all of this oop stuff applies to other programming languages like C? With different syntax ofc, but if classes and all the things also exist and works there? Thanks
They say that teaching is the noblest profession there is. Thank you Shawn.
Hi,
C'était cool 🙂
Paré pour la suite et vous ?
Merci.
Ciao 😉
Hey Shaun, Is it possible to pay to see the rest of the videos before they come out?
to avoid this kind of code or if you guys do not like the "this" keyword, you can just use factory functions, its much shorter, and more robust.
Clean and to the point! May I ask which color theme you use for your VS Code? 🙂
Thumps up! These constructors are very familiar to me! Thanks a lot!
Can you make a tutorial on "Full Swipe feature Slider" using Javascript? It will be really helpful or lightbox gallery Thank you
Very Nice Lesson… Thanks Ninja
Love your videos,, 😍😍