Q. Which function is used to execute a function after a delay?
β
Correct Answer: (B)
setTimeout()
Explanation: setTimeout() is used to run code after a specified delay.