time delay between 2 lines of code in javascript, not settimeout
Posted
by Jamex
on Stack Overflow
See other posts from Stack Overflow
or by Jamex
Published on 2010-06-15T20:20:18Z
Indexed on
2010/06/15
20:22 UTC
Read the original article
Hit count: 208
JavaScript
is there a function that would add a time delay between 2 lines of code. Not the settimeout, because settimeout requires a function/object in its arguments.
I am looking for something like this pseudo code
write "abc";
delay(500);
write "xyz";
TIA
© Stack Overflow or respective owner