Learn JavaScript OBJECTS in 7 minutes! 🧍
HTML-код
- Опубликовано: 1 окт 2024
- #JavaScript #tutorial #course
// object = A collection of related properties and/or methods
// Can represent real world objects (people, products, places)
// object = {key:value,
// function()}
const person1 = {
firstName: "Spongebob",
lastName: "Squarepants",
age: 30,
isEmployed: true,
sayHello: function(){console.log("Hi! I am Spongebob!")},
eat: function(){console.log("I am eating a Krabby Patty")},
}
console.log(person1.firstName);
person1.sayHello();
person1.eat();
// object = A collection of related properties and/or methods
// Can represent real world objects (people, products, places)
// object = {key:value,
// function()}
const person1 = {
firstName: "Spongebob",
lastName: "Squarepants",
age: 30,
isEmployed: true,
sayHello: function(){console.log("Hi! I am Spongebob!")},
eat: function(){console.log("I am eating a Krabby Patty")},
}
const person2 = {
firstName: "Patrick",
lastName: "Star",
age: 42,
isEmployed: false,
sayHello: () => console.log("Hey, I'm Patrick..."),
eat: () => console.log("I am eating roast beef, chicken, and pizza"),
}
console.log(person1.firstName);
console.log(person2.firstName);
person1.sayHello();
person1.eat();
person2.sayHello();
person2.eat();
why you are not making android development tutorial?🥲🥲🥲🥲🥲
Bro , please make some videos on API (REST, SOAP, BULK , etc..) Integration.
Thanks big bro 💯💯💯your content is great. Love from Pakistan ✨️
as a java user, started learning js, all these objects, methods, functions, classes felt fcuked up to me at start
it's real hell bro
Same here brosky
How long before you started to catch on? I just started a bootcamp. 3 weeks in and im lost af
@@wickedbitter what are you lost on? just javascript itself?
@@Mark-ps7eh mainly javascript for sure. But everything is confusing me right now
Easy and straight to the point. Well done 👍
Hey Friend, Your teaching method is very good and easy to understand for beginners ❤. Thank you so much.
Thank you very much!!!! I was always confused what was the difference between a function and a method! Now I know.
please tell me you didn't do extensive research on how old spongebob and patrick are.
"he just watches tv wholeday 🤣" i love patrick
Bro mastered all languages
Thanks so much I have subscribed and liked, you are absolutely amazing bro.❤
lolll those voices imitations are amazing
After seeing this, I feel guaranteed that my life is safe
Nahh bro that wasnt cringe, i kinda felt it:) thank you very much for the tutorial!
Could you not have included a parameter in one of those functions? Might have been helpful.
Thankyou So MUCH!! This was so helpful, I have to follow for more of your videos! :)
This is my seal. I have watched the entire video, understood it, and I can explain it in my own words, thus I have gained knowledge. This is my seal.
ComeBack brooo... please upload more and more javascript and react videos for us ... please master... i am your BIGGEST FAN..... Bigger than a WINDMILL... PLEASE UPLOAD FAST AND MORE ABOUT JS and REACT JS.... I NEED FULL DETAIL OF Mapping function.. please MASTER...
dafuq
Coming from lower level languages and type safe oop it feels somewhat bizarre what JS allows you to do
Uh... are you MrGamesRus? Same voice
the one and only JavaScript course that doesn't confused you ❤❤❤❤
start of day 4
Bro genuis. He never disappoints. Thank u sir
Patrick would say "No! This is Patrick!"
it seems you don't need to declare the variables (properties), why?
When using const or let you dont redeclare only var which you redeclare.
Also when using const and let you dont bind “this”
What can be redeclared can be hoisted and binded to “this”
thanks for clearing this for me sir i was having hard time to understand this
ty
dude you made it super easy for me thanks!
Brocode,you are the Great!!
waw thank you brathers
Thanks so much. Your contents are attraction to me
4:26
Bro voice: akkhgjjjllkkkkkkkkkhghlk
thanks
Excellent 👌🏾
JS is ok but spongebob is 🔥
14/7/24 10:11pm
Just wowwww❤❤❤
❤❤❤❤❤❤❤
woooow, thank you so much.
THX Bro!!
Straight to the point
nice video
Nice video. Also the voice was not cringe.
Your profile pic is great 🤣
@@BroCodez😂
@@BroCodez ΤΗΑΝΚ YOU. I am a fellow Spongebob fan. Your channel is the most useful source of programming.
You have just saved me before my internship interview lmao 💗
Nice to listen to you ... pleasant voice!
RUclips has Spongebob episodes in the recommended videos sidebar next to this 😂