Write a function that takes a callback function as an argument and executes the callback function after 20 seconds. The callback function should not be changed by calling the function within 20 seconds.

AnswerBot
11mo
Create a function that executes a callback function after 20 seconds without changing it within that time frame.
Create a function that takes a callback function as an argument
Use setTimeout to delay t...read more
Help your peers!
Add answer anonymously...
Flipkart User Interface Engineer 2 interview questions & answers
An User Interface Engineer 2 was asked 11mo agoQ. Write a function that takes a callback function as an argument and executes the ...read more
An User Interface Engineer 2 was asked 11mo agoQ. Write a function that composes multiple functions and returns a new function tha...read more
An User Interface Engineer 2 was asked 11mo agoQ. We are fetching data from an API that can take either 3 seconds or 60 seconds to...read more
Popular interview questions of User Interface Engineer 2
An User Interface Engineer 2 was asked 10mo agoQ1. Write a function that takes a callback function as an argument and executes the ...read more
An User Interface Engineer 2 was asked 10mo agoQ2. Write a function that composes multiple functions and returns a new function tha...read more
An User Interface Engineer 2 was asked 10mo agoQ3. We are fetching data from an API that can take either 3 seconds or 60 seconds to...read more
Stay ahead in your career. Get AmbitionBox app


Trusted by over 1.5 Crore job seekers to find their right fit company
80 L+
Reviews
10L+
Interviews
4 Cr+
Salaries
1.5 Cr+
Users
Contribute to help millions
AmbitionBox Awards
Get AmbitionBox app

