If you’re unfamiliar with binary representation of numbers,
its binary equivalent by using the
toString() method and passing in the number
2. For example:
var num1 = 25, num2 = 3; alert(num1.toString(2)); ...