clz32() The Math. clz32() function returns the number of leading zero bits in the 32-bit binary representation of a number.