check if the original number has the digit
if ( freq [ parseInt ( dup % 10 ) ] > hash [ parseInt ( dup % 10 ) ] ) continue ; dup = dup / 10 ; if ( freq [ parseInt ( dup % 10 ) ] > hash [ parseInt ( dup % 10 ) ] ) continue ; dup = dup / 10 ; if ( freq [ parseInt ( dup % 10 ) ] > hash [ parseInt ( dup % 10 ) ] ) continue ; return true ; }