Open Source Your Knowledge, Become a Contributor
Technology knowledge has to be shared and made accessible for free. Join the movement.
The code snippet below is synchronous. It calls
callback1 one time and
callback2 three times. You must modify this code to make it asynchronous with the following rules:
callback1must be called only one time, after 2 seconds.
callback2must be called three times with an interval of 1 second.