// function = A section of reusable code. // Declare code once, use it whenever you want. // Call the function to execute that code. function happyBirthday(username, age){ console.log(`Happy birthday to you!`); console.log(`Happy birthday to you!`); console.log(`Happy birthday dear, ${username}`); console.log(`Happy birthday to you!`); console.log(`You are ${age} years old!`); } function add(x, y){ return x + y; } function subtract(x, y){ return x - y; } function multiply(x, y){ return x * y; } function divide(x, y){ return x / y; } function isEven(number){ return number % 2 === 0 ? true : false; } function isValidEmail(email){ return email.includes("@") ? true : false; } console.log(happyBirthday("BroCode", 25)); console.log(isValidEmail("Bro@fake.com"));
Really bro, the way of your explanation is not in this particular video but in all this playlist is amazing, I like the way you explain everything with the examples.👌
Thank you for making these topics more understandable. I have been using codecademy and some of it dosn't even sound like it's written in English. Clear ideas, good examples, easy learning. thanks again :)
when you switch to (age, username) as parameters but the argument stays the same, how does javascript know age suppose to belong to a number?? and when you call it, the order didn't change
// function = A section of reusable code.
// Declare code once, use it whenever you want.
// Call the function to execute that code.
function happyBirthday(username, age){
console.log(`Happy birthday to you!`);
console.log(`Happy birthday to you!`);
console.log(`Happy birthday dear, ${username}`);
console.log(`Happy birthday to you!`);
console.log(`You are ${age} years old!`);
}
function add(x, y){
return x + y;
}
function subtract(x, y){
return x - y;
}
function multiply(x, y){
return x * y;
}
function divide(x, y){
return x / y;
}
function isEven(number){
return number % 2 === 0 ? true : false;
}
function isValidEmail(email){
return email.includes("@") ? true : false;
}
console.log(happyBirthday("BroCode", 25));
console.log(isValidEmail("Bro@fake.com"));
Hello Bro Code! May I have a favor? can you make a tutorial on how to make pages in react js (jsx). Please? :(
❤
After watching multiple JS videos on functions, this is the video that finally gave me that "Aha!" moment. Now I understand. Thank you!
He is such an amazing teacher!
fr huh
Really bro, the way of your explanation is not in this particular video but in all this playlist is amazing, I like the way you explain everything with the examples.👌
Listened to bunch of videos in yt i didn't get it until i saw Bro code i got a better understanding...
That's one of the, actually it's the best video about how functions work!
Thanks bro much appreciated you are life saviour
THANK YOU THANK YOU. SO MANY VIDEOS ON THIS TOPIC. AND I FINALLY GOT IT WATCHING THIS ONE.!!!!!
Thank you for making "this stuff" easiert to understamd and apply!
this was so helpful Brocode ! the best I've seen on this particular topic so far
Thank you for making these topics more understandable. I have been using codecademy and some of it dosn't even sound like it's written in English. Clear ideas, good examples, easy learning. thanks again :)
thanks bro. you are the man. watched so many js videos but you saved me
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.
dude ur a legend
He is bro.... 🤣🤣
perfectly explained !!!!! thank youuuuuuu
Love from, india you are a very good explanator sir.
why do Indians call people sir
Coz we always give respect to one who teaches us@@ronykax
You made me understand Javascript. Pls can you do node Js videos
Love the way you explained ❤
this man sound like another great man, Josh from Let’sgameitout
You are fantastic,I love you Man❤
outstanding and easy to understand...thankyou :)
You need to hire someone to go through your catalogue, and create playlists around certain topics. Wonderful job.
gracias,excelente explicacion 👍
The craziest thing is that im watching this tutorial today an it actually is spongebobs birthday today, july 14
Thanks King 🤟
Bro I love ❤️ you
You saved me
SpongeBob turned 37 in 2023 and Patrick turned 38.
I laughed more than I should have at that part 😂
best explanation, tnx :)
love you from bangladesh ❤❤❤❤
Thx
Thanks Bro!
Thanks for this video, bro code
4:30 🤣🤣
same XD
Hello Bro Code! May I have a favor? can you make a tutorial on how to make pages in react js (jsx). Please? :(
he already did some tutorials on react like 2 weeks ago
when you switch to (age, username) as parameters but the argument stays the same, how does javascript know age suppose to belong to a number?? and when you call it, the order didn't change
Bro code😎🔥💯
Sir along with programming language what Knowledge is required to get placed.
Bro I got sem end exams and have web dev subject can you please make a tutorial about MEAN stack pleease
Hi BRO CODE : ) .
Is there an algorithm that predicts aviator play?
😂😂
i'm patrick years old.
Mine is saying (Uncaught ReferenceError:)
love ya.