Extends
- Array
Methods
-
delete(key)
-
Parameters:
Name Type Description key* Reference key of scoped variable.
- Implements:
Returns:
successful - Is
trueif removed,falseif element does not exist.- Type
- boolean
-
get(key)
-
Parameters:
Name Type Description key* Reference key of scoped variable.
- Implements:
Returns:
value - Scoped variable for the given key or
undefinedif none exists.- Type
- *
-
has(key)
-
Parameters:
Name Type Description key* Reference key of scoped variable.
- Implements:
Returns:
exists - Instance contains a scoped variable for the given key.
- Type
- boolean
-
set(key, value)
-
Parameters:
Name Type Description key* Reference key of scoped variable.
value* Value of scoped variable to set.
- Implements:
Returns:
- Type
- this
-
slice( [begin] [, end])
-
Shallow copy a portion of an array into a new array object.
Parameters:
Name Type Argument Default Description beginnumber <optional>
0 First index of shallow copy.
endnumber <optional>
this.length Last index of shallow copy, not included.
Returns:
- Type
- Array