Methods
arrayRemove(arr, srch) → {Array}
removes element from array by index
Parameters:
| Name | Type | Description |
|---|---|---|
arr |
Array | array |
srch |
number | index |
Returns:
array with removed index
- Type
- Array
color(string, color) → {HTMLElement}
creates html element (span) with "color" style
Parameters:
| Name | Type | Description |
|---|---|---|
string |
string | |
color |
color |
Returns:
html span element
- Type
- HTMLElement