I love the ternary operator. Here's FizzBuzz: for (let i = 1; i < 101; i++) { let sound = i % 15 === 0 ? 'fizzbuzz' : i % 5 === 0 ? 'buzz' : i % 3 === 0 ? 'fizz' : i; console.log(sound) }
@darnellg85994 жыл бұрын
I am using Codecademy Pro and this was a bit confusing in the lesson. This video explains it absolutely perfect. I understand the syntax and how it works. Thank you!
@RealToughCandy7 жыл бұрын
Can you do a lesson on how you type so fast! Holy moly! :) Great vid.
@BeauCarnes7 жыл бұрын
I speed up the video. :)
@thamimemel54777 жыл бұрын
lmao
@iamwhatiam12216 жыл бұрын
@@BeauCarnes liar liar pants on javascript. No you paste the code. I guess that ass was sarcastic in his comment towards you.🤗
@martinmuthie36652 жыл бұрын
I had a ternary operator quiz that was embedded in another ternary operator and couldn't figure out what was happening. Until I met Beau. Thanks a lot.
@lenonlong98177 жыл бұрын
You are a god damn WIZARD!!! Loving your vids.
@juicetheballer7 жыл бұрын
Interesting how you can assign a value to the variable in the ternary operator without having to use a semi colon. Can just one semicolon for the ternary itself, def learned something today. Thanks man
@MemasMaklas Жыл бұрын
Great explanation. It's hard to understand from start, but with ternary operator you can write code in more organized way.
@BonesMuhroni2 жыл бұрын
anyone else freaked out at how quickly he typed "You are an adult" and "You are a kid"?
@eammyuwe84586 жыл бұрын
Thank you for this video, It helped me pass a test.
@nooneknows6635 жыл бұрын
in 4 minutes you explained everything. wooow Thank you
@theseigemeister5 жыл бұрын
This helped me a lot. *Thanks Beau!*
@jeffbasos32585 ай бұрын
Bro was flexing on us with his fast typing.
@buttonman18313 жыл бұрын
Thank you, direct to the point!
@MrWardo20095 жыл бұрын
Thank you! You are a JS Sensei!
@frankl2166 жыл бұрын
this was an epic explanation
@__jake.m2 жыл бұрын
Thank you for this! :D
@calvinebun-amu53975 жыл бұрын
Thanks a lot, Beau :)
@heyman37314 жыл бұрын
can anyone tell what is meant by three operand ?
@akhelikancha21793 жыл бұрын
what is the difference between ternary operator and if/else statement? which one is faster, suitable and apprioripate in which situation?? can you explain. thank you in advance.
@joshpaiva55977 жыл бұрын
Love the videos please keep it up! :)
@buralibya21526 жыл бұрын
Ternary Operator saved mi vida.
@arturdomanski71027 жыл бұрын
Good stuff sir!
@Human_Evolution-3 жыл бұрын
Nested ternaries are wak yo. At that point we should be looking at switch statements. Right? Still learning...
@FelipeVanDerDonckt2 жыл бұрын
beautiful, thank you
@maximocaceres46852 жыл бұрын
This dude is a fast typer
@0zec6 жыл бұрын
good example thanks bro
@mohammedabosetta55976 жыл бұрын
nice video what if firstcheck = true and secondcheck = true please explain
@sumof15106 жыл бұрын
Then it would just return "Access Denied". secondCheck would be irrelevant
@LUX-OTTI3 жыл бұрын
Thank you so much!
@lycan24945 жыл бұрын
that thumbnail is hilarious lol
@BlackDev2 жыл бұрын
1k likes baby i feel honored love you fcc
@maryamzaki10972 жыл бұрын
thank you very helpful
@lycan24945 жыл бұрын
why fcc videos so little views? should have at least 50k views in my book