Whatfix interview question

Q: Setinterval and Settimeout functions.