(arr, func)
| 40 | // ================================ Utils ================================ |
| 41 | |
| 42 | function each(arr, func) { |
| 43 | var len = arr.length, |
| 44 | n; |
| 45 | |
| 46 | for (n=0; n<len; n++) { |
| 47 | func(arr[n], n); |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | function round(val, decimalPoints) { |
| 52 | var power = Math.pow(10, decimalPoints); |
no outgoing calls
no test coverage detected
searching dependent graphs…