text: Simple Javascript code for counting trailing zeros in binary representation of a number
code: function countTrailingZero ( x ) { let count = 0 ; while ( ( x & 1 ) == 0 ) { x = x >> 1 ; count ++ ; } return count ; }