Nodejs Decimal to Binary Convert dec2bin(dec)

Here you can find the source of dec2bin(dec)

Method Source Code

function dec2bin(dec) {
  return (dec >>> 0).toString(2);
}