function zeros (n) { let count =0 while(n !== 0){ count += Math.floor(n/5) n/=5 } return count } console.log((zeros(5)))