(param = throw new Error('required!'))
| 1 | function test(param = throw new Error('required!')) { |
| 2 | return param === true || throw new Error('Falsey!'); |
| 3 | } |
| 4 | |
| 5 | test(true); |
| 6 | test(false); |
no outgoing calls
no test coverage detected
searching dependent graphs…