Skip to content

This repo contains implementation of common polyfills asked in Frontend Interviews

License

Notifications You must be signed in to change notification settings

Devtools-Tech-Team/polyfills

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Polyfills

Implementation of common polyfills asked in Frontend Interviews.

To run tests

To run tests, run the following commands,

yarn install
yarn run test

List of polyfills

  1. Reduce

    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

  2. SetInterval

    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 have implemented setInterval with the help of setTimeout.

    YouTube Link:

    Part 1 - https://www.youtube.com/watch?v=qSCEjJL3z6c

    Part 2 - https://www.youtube.com/watch?v=79yHvDzVA_I

Quick Links

Interview questions: https://code.devtools.tech/questions/all?ref=fiqdl-ql

Interview resources: https://code.devtools.tech/resources/all?ref=fiqdl-rl

About

This repo contains implementation of common polyfills asked in Frontend Interviews

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published