How A Javascript Function Converted Decimal Numbers To Binary Sairam

How A Javascript Function Converted Decimal Numbers To Binary Sairam