0
i can't understand this operator in javascript yet %
6 Answers
+ 8
It's the remainder you get when you divide 24%5=4
+ 6
It returns remainder ,5/3=>2
+ 3
Youssef Ashraf yes u r correct
+ 2
So it gets the remainig value after a division so 6/2 =0?
+ 2
Thank you all I think I got it
+ 1
Jhonny so we get the nearest number that can be divided without a fraction and subtract the number from it as this example 20 is the nearest divisible number and 24-20=4 so the answer would be 4