Fixed the type of the result of Array.indexOf(), must be number.
git-svn-id: http://yate.null.ro/svn/yate/trunk@5812 acf43c95-373e-0410-b603-e72c3f656dc1
This commit is contained in:
parent
401d4b8793
commit
410dd9a8c6
|
@ -822,7 +822,7 @@ bool JsArray::runNative(ObjList& stack, const ExpOperation& oper, GenObject* con
|
|||
}
|
||||
}
|
||||
TelEngine::destruct(op1);
|
||||
ExpEvaluator::pushOne(stack,new ExpOperation(String(index)));
|
||||
ExpEvaluator::pushOne(stack,new ExpOperation((int64_t)index));
|
||||
return true;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue