0
Hours
0
Minutes
0
Seconds
You need Login/Signup to run/submit the code.

Implement Promise Polyfill | JavaScript Interview Question | Promise Polyfills | Frontend Problem Soving

@Devtools Tech
522

In this question, you need to implement your own version of a JavaScript Promise. This would be a custom implementation that must behave exactly the same as the native javascript promises.

Read more about JS Promises here.

This is an advanced question and only asked in the interview process of senior engineers. The aim with this question is not to judge that the candidate has memorised the JavaScript Promise Polyfill but rather understand how they architect solutions, handle complex problem statements, and can build scalable utilities for the entire team.

Submission

Start the timer, complete your solution, test your solution against the test cases provided by the platform, and submit it. Ideally, you should finish this question within 90-120 mins. Share your solution with us -- https://twitter.com/devtoolstech

Loading IDE...