* Remove value from array * @param array * @param value
(array, value)
| 1541 | * @param value |
| 1542 | */ |
| 1543 | function arrayRemove(array, value) { |
| 1544 | var index = array.indexOf(value); |
| 1545 | if (index > -1) { |
| 1546 | array.splice(index, 1); |
| 1547 | } |
| 1548 | } |
| 1549 | |
| 1550 | /** |
| 1551 | * If option is a function, evaluate it with given params |
no outgoing calls
no test coverage detected
searching dependent graphs…