Feb 27, 2007 at 1:35pm
in the following function, there is an array ‘myArray’ which is filled with data from SoftVNS. I want to call a number of functions on it – myArray.length works, but many others do not including ‘indexOf’ and ‘lastIndexOf’ as in
var index = array.lastIndexOf(searchElement[, fromIndex]);
// list — populates the array with the list
post(“n the list contains :” + (arguments.length-1) + ” elements”);
listLength = arguments.length;
for (i=0; i
if (myArray[i] > num)
Feb 27, 2007 at 2:15pm
Mar 1, 2007 at 9:07am
In your example I don’t see the use of lastIndexOf.
Quote: email@example.com wrote on Tue, 27 February 2007 14:35
You must be logged in to reply to this topic.