()
| 20 | } |
| 21 | |
| 22 | function swapCurrency(){ |
| 23 | let temp=curr1.value; |
| 24 | curr1.value=curr2.value; |
| 25 | curr2.value=temp; |
| 26 | calculate(); |
| 27 | } |
| 28 | |
| 29 | // Event Listeners |
| 30 | curr1.addEventListener('change',calculate); |
nothing calls this directly
no test coverage detected