The Remainder Operator in JavaScript Modulo
>> YOUR LINK HERE: ___ http://youtube.com/watch?v=JfHEtou8qb4
The Remainder Operator (%) in JavaScript allows you to find the remainder of a division of two numbers - much similar to the modulo operator in many other languages. It can be used for the same purpose of finding the remainder as it uses the built in modulo function. • It is also extremely useful for limiting a large number (or converting it) into a smaller one with a maximum you specify. For example if you wanted to reduce 500 down to a maximum of 7, you can do this easily using the remainder operator. • In this video I take you through a basic example of the operator as well as it's uses to limit a number down. • For your reference, check this out: • https://developer.mozilla.org/en-US/d...) • Follow me on Twitter @dcode! • If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
#############################
