tunggu 0,5 setelah fungsi javascript
statement1();
setTimeout(function() {
statement2();
}, 500);
Rays
statement1();
setTimeout(function() {
statement2();
}, 500);