...
Parameter name | Type | Required | Description |
---|---|---|---|
array | array | Yes | The array Array where to add the element. |
index1 | number | Yes | Position where to add the element. |
elem | type of array element | Yes | Element to add to the array. |
Returns
Element of the array type
...
Sets the value currentUser for the 13 th element of the array watchers.
Notes
Note |
---|
|
...
Info | ||
---|---|---|
| ||
Starting with version 2.5 we added the indexing operator. It will work on arrays, strings, dates and interval.It was greatly awaited and it's now there. You can simply write in your programs watchers[12] = currentUser() to refer to the 13 th element in the watchers array. |
...