8
I want to check if for example a string "00000000" is composed only of zeros and give true, but a "0000a0e0b" is false, because I tried with ! isNaN and gives true having at least 1 number
var palavra = 00000;
var palavra2 = a00a0;
if(!isNaN(palavra)) // Aqui é pra dar true
if(!isNaN(palavra2)) // Aqui era pra dar false, mas dá true
I removed my own. ;)
– Sam
No problem, your answer was great.
– Sam
@dvd I had thought of removing mine too. I had never happened this before and I was in doubt about what to do.. Anyway, thanks!
– hkotsubo
In these cases who answered last that should remove the answer. But as it was practically at the same time, I took the initiative. No problem no. Good thing you warned because I had not even seen your answer rs.
– Sam
many thanks to all who answered, it worked here :)
– Paulo Henrique Rodrigues Grund