// arrow functions = a concise way to write function expressions // good for simple functions that you use only once // (parameters) => some code // ---------- EXAMPLE 1 ---------- const hello = (name, age) => {console.log(`Hello ${name}`) console.log(`You are ${age} years old`)}; hello("Bro", 25); // ---------- EXAMPLE 2 ---------- setTimeout(() => {console.log("Hello"); console.log("Goodbye");}, 3000); // ---------- EXAMPLE 3 ---------- const numbers = [1, 2, 3, 4, 5, 6]; const squares = numbers.map((element) => Math.pow(element, 2)); const cubes = numbers.map((element) => Math.pow(element, 3)); const evenNums = numbers.filter((element) => element % 2 === 0); const oddNums = numbers.filter((element) => element % 2 !== 0); const total = numbers.reduce((accumulator, element) => accumulator + element); console.log(total);
@JarvisBaileyVA10 ай бұрын
You may not see this but you're helping me through class like you wouldn't believe. Thanks Bro 🙏🏾
@ali_thegamer9816 күн бұрын
I think you are the best teacher of javascript ever i found. You have the ability to teach any complex concept into very easy and understandabel way of teaching. Respect from Pakistan.
@Dillicious17 Жыл бұрын
Thank you for the tutorials they are super helpful. I have been learning java script for a little over a month and have been using your videos to learn and review! Appreciate it greatly!
@piotrmazgaj5 ай бұрын
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.
@CatholicWeeb Жыл бұрын
Absolute respect Bro! You're great!
@OscarJ-016 ай бұрын
1:09 I don't understand why everyone doesn't just explain it this way. They always skip this step while they explain arrow functions. Great video!! Clears up everything. An arrow function is just a function saved in a variable.
@ratatata31948 ай бұрын
Simple and Clear ez to understand literally Bro code things Keep it up G
@moe5838 ай бұрын
Can you do a bootstrap series as well, you're really good.
@Blitz61wasd Жыл бұрын
django course please
@BroCodez Жыл бұрын
probably next year. I'm a little rusty at Python at the moment
@Blitz61wasd Жыл бұрын
@@BroCodez Ok, thank you
@786ranabasharat5 ай бұрын
@@BroCodez 4 months left
@spy_gaming_32 Жыл бұрын
Just do it and try your best . 1 day you also get millions of view and millions of supports. Good job dear ❤❤❤❤❤
@eltonandrade83223 ай бұрын
Very nice, thanks!
@YannMetalhead6 ай бұрын
Very good explanation.
@learn...70652 ай бұрын
Amesome
@lolwhat192 ай бұрын
7:20 what if i wanted to pass parameter instead of constant 2's and 3's used in map and filter?
@francisconieto3629Ай бұрын
gracias my bro
@ChongHwi5 күн бұрын
thanks !
@magic7691 Жыл бұрын
Do you have any plans on making a rust series?
@BroCodez Жыл бұрын
sorry not currently. But maybe someday I'll give it a try
@magic7691 Жыл бұрын
@@BroCodez that's no worries man, what you do is hard and i appreciate that you do so much for the community completely free, mad respect to you
@LaGrasa0059 ай бұрын
Thanks for the help man
@kbantin0073 ай бұрын
U canr teach a person who wants to learn..you are teaching professionals
@oshadhaedirisinghe14557 ай бұрын
Thank you
@Th3Coder Жыл бұрын
Hey Bro I Would Recommend You To Make Some Shorts, They Will Definitely Help You Improve Your Views.
@Th3Coder Жыл бұрын
And Sorry I Re-uploaded Your Video And Change the Watermark I Removed That Video Now
@BroCodez Жыл бұрын
@@Th3Coder It's okay, I forgive you :) Also, I hate KZbin Shorts XD
@kathikr93609 ай бұрын
thanks
@hunin27 Жыл бұрын
Hey bro! Do you mind creating a project with all of these things in some time? I'm pretty sure it will be of great help. i would recommend doing it in around 5 videos. thanks for everything ❤
@shivanshuhere Жыл бұрын
respect ++ ❤
@DeviantMCC8 ай бұрын
2:56
@fishionboy991110 ай бұрын
Thanks bro
@AdebayoJoshua-tr7lv Жыл бұрын
Please more javascript
@BroCodez Жыл бұрын
ok
@sangi297110 күн бұрын
Arrow function > Function expressions > Function Decelerations
@rjocampo9219 ай бұрын
hey bro!!! if i just can give you 1 case of ice cold REDHORSE BEER and drink until we drop dead!haha! thanks for this
@najib303 Жыл бұрын
bro do you have a discord server?
@BroCodez Жыл бұрын
I do not, I'm sorry
@rolindets476 ай бұрын
Sorry but where are you getting element as a parameter? Noob question :(
@oakleypankratz85477 ай бұрын
Bro just solved cosc
@GonzaloFrancoGimeno2 ай бұрын
As a C and Java developer, I feel like this language is cursed af.