javascrips operators | SoloLearn: Learn to code for FREE!


javascrips operators

What is % really do? I am not understand it.

5/29/2018 7:09:53 PM

Taha Ansari

3 Answers

New Answer


Is mod, In JSP is other use.


As Sachin Artani said you can check a division's remainder. It's often used for checking for divisibility, if the remainder is zero you know a number is divisible by another.


It's a modulo operator which is used to find out the remainder. eg. 7%2 is 1