May 16, 2023
Program to use Modulus Operator JavaScript Language
let a = 5;
let b = 2;
let c;
c = a % b;
console.log('c = ', c);
Output
c = 1
by : Suhel Akhtar
Quick Summary:
Modulus Operator JavaScript Program