Implementation of common polyfills asked in Frontend Interviews.
To run tests, run the following commands,
yarn install
yarn run test
-
Array.prototype.reduce
is a commonly used high order function. We are going to look at how we can create our own implementation of this function, covering all the use-cases and error conditions.YouTube Link: https://www.youtube.com/watch?v=EgN4qwAQ0eM
-
SetTimeout and SetInterval are very crucial functions when we talk about Javascript. In the part 1, we have
explained setTimeout and setInterval
with a few examples. In the part 2, we haveimplemented setInterval with the help of setTimeout
.YouTube Link:
Interview questions: https://code.devtools.tech/questions/all?ref=fiqdl-ql
Interview resources: https://code.devtools.tech/resources/all?ref=fiqdl-rl