If I have a function which I would like my js code to run it immediately but after the run, wait for 2 seconds. How to achieve this logic?If I have a function which I would like my js c
If I have a function which I would like my js code to run it immediately but after the run, wait for 2 seconds. How to achieve this logic?If I have a function which I would like my js c