DEV Community

Discussion on: 7 Killer JavaScript One-Liners that you must know

Collapse
 
prakhart111 profile image
Prakhar Tandon

Modulus checks if the number is divisible by a number or not, It doesn't checks for exponent.