// 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!
THANK YOU THANK YOU. SO MANY VIDEOS ON THIS TOPIC. AND I FINALLY GOT IT WATCHING THIS ONE.!!!!!
Thanks bro much appreciated you are life saviour
dude ur a legend
He is bro.... 🤣🤣
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!
this was so helpful Brocode ! the best I've seen on this particular topic so far
You are fantastic,I love you Man❤
You made me understand Javascript. Pls can you do node Js videos
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 :)
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.
Love from, india you are a very good explanator sir.
why do Indians call people sir
perfectly explained !!!!! thank youuuuuuu
Love the way you explained ❤
this man sound like another great man, Josh from Let’sgameitout
4:30 🤣🤣
Thanks King 🤟
The craziest thing is that im watching this tutorial today an it actually is spongebobs birthday today, july 14
SpongeBob turned 37 in 2023 and Patrick turned 38.
I laughed more than I should have at that part 😂
outstanding and easy to understand...thankyou :)
Thx
best explanation, tnx :)
Thanks Bro!
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
Thanks for this video, bro code
love you from bangladesh ❤❤❤❤
Hi BRO CODE : ) .
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
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
i'm patrick years old.
Is there an algorithm that predicts aviator play?
😂😂