Enjoy 20% off all plans by following us on social media. Check out other promotions!

JavaScript Polyfills

Gain proficiency in front end fundamentals by implementing JavaScript and DOM APIs from scratch.

All Practice Questions

Coding Format

Questions List

  • Type UtilitiesImplement utilities to determine primitive variable types in JavaScript
    Languages
    JSTS
  • Type Utilities IIImplement utilities to determine non-primitive variable types in JavaScript
    Languages
    JSTS
  • Event EmitterImplement a class that can subscribe to and emit events that trigger attached callback functions
    Languages
    JSTS
  • FlattenImplement a function that recursively flattens an array into a single level deep
    Languages
    JSTS
  • Promise.allImplement the Promise.all() function that resolves to an array of results if all the input elements are resolved or rejects otherwise
    Languages
    JSTS
  • Find IndexImplement a function that returns the index of the first element in the array that satisfies the provided testing function
    Languages
    JSTS
  • Find Last IndexImplement a function that returns the index of the last element in the array that satisfies the provided testing function
    Languages
    JSTS
  • Function.prototype.applyImplement the Function.prototype.apply() function that calls the function with a given `this` value and arguments as an array
    Languages
    JSTS
  • Function.prototype.callImplement the Function.prototype.call() function that calls the function with a given `this` value and provided arguments
    Languages
    JSTS
  • Array.prototype.atImplement the Array.prototype.at() method
    Languages
    JSTS
  • Array.prototype.filterImplement the Array.prototype.filter() method
    Languages
    JSTS
  • Array.prototype.mapImplement the Array.prototype.map() method
    Languages
    JSTS
  • Array.prototype.reduceImplement the Array.prototype.reduce() method
    Languages
    JSTS
  • Function.prototype.bindImplement the Function.prototype.bind() function that creates a new function with the `this` keyword set to a provided value
    Languages
    JSTS
  • Promise.raceImplement the Promise.race() function that resolves or rejects when any of the input elements are resolved or rejected
    Languages
    JSTS
  • Array.prototype.concatImplement the Array.prototype.concat() method
    Languages
    JSTS
  • Event Emitter IIImplement a class that can subscribe to and emit events that trigger attached callback functions. Subscription objects are returned and can unsubscribe itself
    Languages
    JSTS
  • getElementsByTagNameImplement a function to get all DOM elements that match a tag
    Languages
    HTMLJSTS
  • JSON.stringifyImplement a function that converts a JavaScript value into a JSON string
    Languages
    JSTS
  • Promise.allSettledImplement the Promise.allSettled() function that resolves to an array of outcomes when all the input elements are either resolved or rejected
    Languages
    JSTS
  • Promise.anyImplement the Promise.any() function that resolves when any of the input elements are resolved
    Languages
    JSTS
  • getElementsByClassNameImplement a function to get all DOM elements that contain the specified classes
    Languages
    HTMLCSSJSTS