Javascript and {}

  • Автор темы Автор темы Stereomike
  • Дата начала Дата начала

Stereomike

Client
Регистрация
29.03.2011
Сообщения
221
Реакции
30
Баллы
0
In the javascript tester, I get an error for this:

var tmpBest=100000;
for(i=1;i<7;i++)
{tmpBest=100000};

Any chance to get loops to work?
 
Of course it does nothing, Bulldozer, it was just an example stripped down to the smallest possible code :)
Thanks for var=i, didn't knew thought the tester couldn't work with temporary variables.
 

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