Learn JavaScript
Number
5.5
Lesson

Get the remainder

We can use % to get the remainder. It returns the remainder after the division of the value on the left of % by the value on the right of %.