const tocarSon = document.getElementById('start-pause') const audioPlay = new Audio('/sons/play.wav'); const audioPausa = new Audio('sons/pause.mp3')
tocarSon.addEventListener('click', () => { if (audioPlay.paused) { audioPlay.play() } else { audioPausa.pause() } }) tocarSon()