Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

sample asynchronous

console.log('Hello');
setTimeout(() => { console.log('Javascript')},100) // tunda selama 100 miliseconds
console.log('Coder');

/* ----------
Output :
Hello!
Coder
Javascipt
------------*/
Source by gist.githubusercontent.com #
 
PREVIOUS NEXT
Tagged: #sample #asynchronous
ADD COMMENT
Topic
Name
7+5 =