Coding Blocks interview question

Make a async programming function to show a task happening in every 2 sec

Interview Answer

Anonymous

12 Feb 2024

Just make settimeout function and inside it make callback functions one after the other.