Javascript Modulo Operator Explained | Understanding modulo rest value

preview_player
Показать описание
A short video where I talk about the modulo operator % in Javascript (modulus). It's an operator that will give the rest from a division.

Support me by subscribing to this channel ❤️

Do you want to master #react, #gatsby, or #svelte fast? ⏩ 🚀 👩‍🚀



Find me somewhere below:

Рекомендации по теме
Комментарии
Автор

Great explanation especially about the 24 vs 12 hour clock! Thank you!

LTRuns
Автор

Oh my god. This example with clock killed me! I am on different course and didn't understood well how to interact with modulo - but you did it clearly. Thank you so much.

volodymyrstefanyshyn
Автор

Oh my gosh, you cleared up my confusion with this operator. 😭 I couldn’t figure out how the heck it worked, but it makes more sense now! THANK YOU!!!

trainerkellysnetwork
Автор

great job sir, could not understand the moziilla doc explanation and you made it all clear to me

JulienGardier
Автор

what would be the answer to 5 % 10? and why? still can't understand when it is used and the first number is smaller than the second.

robby
Автор

I have to admit that I don't think about modulo much when on vacation. Since vacation implies rest and modulo gives you the rest, maybe it makes sense.

eleah