JavaScript OOP Crash Course (ES5 & ES6)

JavaScript OOP Crash Course (ES5 & ES6)

Traversy Media

6 лет назад

582,852 Просмотров

In this video we will look at some of the object oriented programming concepts in JavaScript including...

Object Literals
Constructors & This
Prototypes & Inheritence
Object.create()
ES6 Classes & Subclasses

MODERN JS FROM THE BEGINNING - $9.99 PROMO
https://www.udemy.com/modern-javascript-from-the-beginning/?couponCode=YOUTUBE10

💖 Become a Patron: Show support & get perks!
http://www.patreon.com/traversymedia

Website & Udemy Courses
http://www.traversymedia.com

Follow Traversy Media:
http://www.facebook.com/traversymedia
http://www.twitter.com/traversymedia
http://www.instagram.com/traversymedia

The Developer Hangout: Public Discord Server
https://discord.gg/developers

Тэги:

#javascript #javascript_oop #object_oriented_javascript #oop_js #oop #javascript_prototypes #es6 #es6_classes #object_oriented_programming
Ссылки и html тэги не поддерживаются


Комментарии:

@target500milliontradersinv5
@target500milliontradersinv5 - 21.11.2023 16:37

Super

Ответить
@dennisbunarta1190
@dennisbunarta1190 - 05.11.2023 11:55

God bless you Traversy

Ответить
@charlestoneoyoo
@charlestoneoyoo - 03.11.2023 16:11

I loved every bit of this, Really learnt a lot. A great course for beginners

Ответить
@Gnajs
@Gnajs - 17.09.2023 14:02

Watched in 2023. Thanks Brad!

Ответить
@muhammadasim5532
@muhammadasim5532 - 02.09.2023 05:08

Love you Brad sir from Pakistan ❤❤

Ответить
@shasha6326
@shasha6326 - 25.08.2023 12:00

The love i Feel for You It's so much that I could cry

Ответить
@Phill_F
@Phill_F - 27.07.2023 11:23

This is beyond a life saver and helpful, Brad, thank you!

Ответить
@angelchristiantorrejos4075
@angelchristiantorrejos4075 - 24.07.2023 11:25

Thank you very much Traversy Media <3

Ответить
@zoeygrimes07
@zoeygrimes07 - 05.06.2023 10:35

very clear and neat, thanks!

Ответить
@EnzoAuditore
@EnzoAuditore - 31.05.2023 02:45

Cheers mate

Ответить
@uafkhurram
@uafkhurram - 25.03.2023 19:06

Where is the Github link?

Ответить
@astroboy3720
@astroboy3720 - 13.03.2023 14:47

Wish you all the goodness in the world 🙏❤

Ответить
@minhtriettruong9217
@minhtriettruong9217 - 08.03.2023 18:04

Thank you

Ответить
@CodingWithFKhan
@CodingWithFKhan - 07.02.2023 19:33

As I observe your teaching style, Brad, I become more and more convinced that teaching is not a career suitable for everyone. But, it is evident that you were specifically designed for this purpose. Your ability to articulate complex ideas in a clear and effective manner is truly remarkable, enabling anyone to grasp the concepts easily.

Ответить
@rs.wright
@rs.wright - 20.01.2023 14:59

At about 19 minutes in you're writing prototype methods (getAge and getSummary). When doing this, I wrote them as arrow functions and my properties were returned as undefined. Any explanation why the arrow function does this?

Ответить
@essamgamal616
@essamgamal616 - 31.12.2022 23:33

WHO IS DOE GUYS??

Ответить
@kurwacherry
@kurwacherry - 23.12.2022 19:53

the prototype method with revising was really useful, thanks homie

Ответить
@Captsonemedia
@Captsonemedia - 15.12.2022 01:06

Thanks a lot brad for this crash course

Ответить
@roddsmathclub7108
@roddsmathclub7108 - 01.12.2022 17:36

Your awesome man !

Ответить
@abdiqadirahmed2395
@abdiqadirahmed2395 - 27.11.2022 11:25

Thank you Traversy, learned alot from you

Ответить
@Adrian_Adam
@Adrian_Adam - 17.11.2022 02:06

You friggin rock!

Ответить
@yaldakarimi3772
@yaldakarimi3772 - 16.11.2022 09:32

I love what you said in the last minute of this video!! you are the best Brad

Ответить
@spencerpingitore9
@spencerpingitore9 - 31.10.2022 08:02

Very helpful on my journey to learn!! Thank you for such an awesome video explaining what's going on under the hood.

Ответить
@JonSpircoff7
@JonSpircoff7 - 27.10.2022 02:27

Struggling with these oop but love seeing errors even the slightest from people who have been in this for a long time. Very humbling

Ответить
@DaveGalligher
@DaveGalligher - 22.10.2022 20:56

Great explanation. Enjoyed your comments regarding know-it-alls (Arrogant P**cks) at the end of the video, can't stand them either. I know this video is 4 years old, but still relevant. Thank you.

Ответить
@luisf7105
@luisf7105 - 20.10.2022 16:13

Brad, I really appreciate you!!🤛🏽

Ответить
@chukwuemekaazimoh
@chukwuemekaazimoh - 06.10.2022 21:01

awesome !!!

Ответить
@DionelvanThen
@DionelvanThen - 06.10.2022 06:24

Thank you so much! Learned a lot from you!

Ответить
@thelyricndbuzzz6657
@thelyricndbuzzz6657 - 05.10.2022 18:25

what if i wanted only the subclass to have a particular method, how can i do that?

Ответить
@bakiuburim6200
@bakiuburim6200 - 27.09.2022 01:11

I never thought I would be able to understand classes this simple , I highly appreciate your effort .

Ответить
@MRAMetharam
@MRAMetharam - 06.09.2022 21:03

Really awesome content. Very informative and direct to the point. With regards to using classes, how should we define private variables and functions?

Ответить
@kessasyoussef3513
@kessasyoussef3513 - 29.08.2022 20:57

Great teacher bless you, Is there anyway I can get the code files ?

Ответить
@reploidzero9058
@reploidzero9058 - 20.08.2022 22:04

could anyone please.. for the love of code... help me out. ive been using a version of javascript from a website called codehs, which claims to be using ES5 javascript, whenever i look it up online to try and assist with a game im trying to develope with said language i get a ton of nothing and the code always seems different than mine, like i use println("words"); to display text in the console whereas everyone else uses console.log and when creating graphics ( circles, rectangles, triangles) i use
" Var circle = new Circle(radius); "
" circle.setPosition(x, y); "
" circle.setColor(color); "
" add(circle); "
is there some reason all of these languages mentioned and being used are different from my language and if so would switching over to one of the more popular languages just be a slight twist on this one that i could get used to seeing ive already learned a good bit about this one?

Ответить
@aditkaushal9397
@aditkaushal9397 - 17.08.2022 21:19

ES6 classes and subclasses had almost similar syntax like that in Java 7/8 version....so one similarity finally found here!!

Ответить
@romeojoseph766
@romeojoseph766 - 16.08.2022 09:31

Really nice examples!!!! Thank you for the everything you did

Ответить
@chargewireless3369
@chargewireless3369 - 16.08.2022 03:04

THANKS MAN! I needed this for JS sentax.

Ответить
@johanngreyvenstein9180
@johanngreyvenstein9180 - 03.08.2022 15:14

thanks bro, loved it

Ответить
@AGUNGKAYA
@AGUNGKAYA - 31.07.2022 12:08

I bought your angular course in udemy and need something on OOP here. Thanks, great explanation!

Ответить
@germantoenglish898
@germantoenglish898 - 26.07.2022 18:56

It was nice to hear a bit of anger towards arrogant pr%$ks. 😀👍

Ответить
@mitchelleuzonna4523
@mitchelleuzonna4523 - 24.07.2022 19:32

Wonderful course!!. The concepts were thoroughly explained using a simple and detailed approach. Thanks so much

Ответить
@ibrahimsallieukamara517
@ibrahimsallieukamara517 - 21.07.2022 14:13

Great Brad....

You make things very understandable

Ответить
@Khigha87
@Khigha87 - 11.07.2022 23:33

Thanks so much for this vid bro! I was really struggling to uderstand the difference and reason behind object literals, constructors and classes. I understood classes from Python and the JS OOP chapter made me feel super dumb, and I got frustrated because it shouldn't be that hard. You cleared things up for me a lot.
It's really cool that you're like a regular dude, some other tech guys are too geeky to relate to, so it helps me a lot seeing what you've able to learn and achieve!

Ответить
@marouwahbi8464
@marouwahbi8464 - 10.07.2022 02:06

tbh this is gold

Ответить