Method “insert”
function insert(node, index)
Inserts a node at the given index
Parameters
| Name | Type | Description |
|---|---|---|
node | object | The node object to insert |
index | integer | The index within the list at which to insert the node |
function insert(node, index)
Inserts a node at the given index
| Name | Type | Description |
|---|---|---|
node | object | The node object to insert |
index | integer | The index within the list at which to insert the node |