+ 1
How can i make the following function wait for some time before logging out a value ?
2 Answers
0
Phan Thanh BĂŹnh appreciate the help but that is not what i want .
If you see the setTimeout function when used in Promise(provided by javascript) actually wait for some time( 1 sec here) unlike my.
- 1
How about this
https://code.sololearn.com/W2PcwbSFN0E2/?ref=app