()
| 4 | |
| 5 | //for new joke |
| 6 | function next() { |
| 7 | //To get the clicking sound |
| 8 | var aud = document.getElementById("click"); |
| 9 | |
| 10 | aud.volume = .56; aud.play(); |
| 11 | |
| 12 | //to generate random number |
| 13 | ran = Math.floor(Math.random() * jokes.length); |
| 14 | |
| 15 | //to put new jokes on screen |
| 16 | document.getElementById("joke").innerText = jokes[ran]; |
| 17 | |
| 18 | } |
| 19 | |
| 20 | //To share on whatsapp |
| 21 | function share() { |
nothing calls this directly
no outgoing calls
no test coverage detected