This counter is nuts!

  • Автор темы Автор темы jp1
  • Дата начала Дата начала
try removing quotes.
number with quotes is string, number without quotes is integer (or similar).
Not sure how is this handled by JS, but perhaps it doesn't do conversion string to integer while comparing and it compares it as string which result to weird behavior.
 
  • Оценить
Реакции: jp1
It went false on 6 on mine. Don't understand it at all. Maybe ask Nauru if he knows why. Seems like it should keep on going.
 
it works fine now! you have to take the ' and ' out of both sides because as gemini said it thought it was a string not a number.
 

Кто просматривает тему: (Всего: 0, Пользователи: 0, Гости: 0)