(a, b)
| 1 | const classes = (...arr) => arr.filter(v => v).join(' '); |
| 2 | |
| 3 | const distance = (a, b) => { |
| 4 | const dx = a.x - b.x; |
| 5 | const dy = a.y - b.y; |
| 6 | return Math.sqrt(dx * dx + dy * dy); |
| 7 | }; |
| 8 | |
| 9 | const extension = fileName => /(?:\.([^.]+))?$/.exec(fileName)[1]; |
| 10 |
no outgoing calls
no test coverage detected