@JsType(isNative=true, name="Array", namespace="<global>") public final class ArrayMixedObject extends Array
Constructor and Description |
---|
ArrayMixedObject() |
Modifier and Type | Method and Description |
---|---|
Object |
get(int index)
Gets the value at a given index.
|
void |
push(Object item)
Adds one element to the end of an array.
|
Object |
remove(int index)
Removes the element at the specified position in this array.
|
@JsOverlay public Object remove(int index)
index
- the index of the element to be removed@JsOverlay public Object get(int index)
index
- the index to be retrievedpublic void push(Object item)
item
- The element to add to the end of the array.