Can he write test code that runs setInterval in 10 ms or something else and check the current date while your other code is working. If your code loads the main thread, all interval calls will be queued until this is completed, so you will see a 200 ms window where the interval will not be called, and then 20 calls in fast branch mode after the 200 ms code is completed .
source share