#3947 Simulate 'setTimeout' and 'setInterval' in JSB.