Answers for "javascript wait 5 ec"

2

javascript wait 5 sec

function stateChange(newState) {
    setTimeout(function () {
        if (newState == -1) {
            alert('VIDEO HAS STOPPED');
        }
    }, 5000);
}
Posted by: Guest on January-21-2021
0

wait 0.5 after function javascript

statement1();
setTimeout(function() {
    statement2();
}, 500);
Posted by: Guest on October-30-2020

Code answers related to "Javascript"

Browse Popular Code Answers by Language