JavaScript obtenga una magnitud del número
const a = 10;
const b = 20;
const difference = Math.abs(a - b);
// difference is 10.
Jealous Jaguar
const a = 10;
const b = 20;
const difference = Math.abs(a - b);
// difference is 10.