JS in ZP; Cannot test indexOf array

txseo

Client
Регистрация
31.05.2013
Сообщения
23
Благодарностей
0
Баллы
1
test = flds_Exist.indexOf(fieldNames);
return test;


That should return a '-1' to the variable but does not.
 

VladZen

Administrator
Команда форума
Регистрация
05.11.2014
Сообщения
22 218
Благодарностей
5 843
Баллы
113

txseo

Client
Регистрация
31.05.2013
Сообщения
23
Благодарностей
0
Баллы
1
Vlad, thanks for responding. I later figured out that a misplaced period was throwing an error prior to this call.
 

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