3 ms·
setInterval( () => { if(state.textContent == 'on') { websocket.send(JSON.stringify({ action: 'plus' })); } }, 50)
by heleninboodler 5y ago
setInterval( () => { if(state.textContent == 'on') {
websocket.send(JSON.stringify({ action: 'plus' })); } }, 50)
- deleted 5y ago[deleted]