Implement Promise Polyfill | JavaScript Interview Question | Promise Polyfills | Frontend Problem Soving
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