(num)
| 96 | Math.random() < .5 ? console.log('heads') : console.log('tails'); |
| 97 | |
| 98 | function threeOrSeven(num){ |
| 99 | // console.log(num); |
| 100 | // console.log(num % 3) |
| 101 | if(num === 0) return 0; |
| 102 | if(num % 7 === 0 && num % 3 === 0 && num !== 0) return 21 |
| 103 | else if(num % 7 === 0) return 7 |
| 104 | else if (num % 3 === 0) return 3 |
| 105 | else return num; |
| 106 | |
| 107 | } |
nothing calls this directly
no outgoing calls
no test coverage detected