An open API service indexing awesome lists of open source software.

https://github.com/mohit251103/js_implements

Custom implementations in JavaScript
https://github.com/mohit251103/js_implements

javascript promises-in-javascript typescript

Last synced: 2 months ago
JSON representation

Custom implementations in JavaScript

Awesome Lists containing this project

README

          

# JavaScript Implementations

A list of JavaScript implementations to practice and enhance understanding of core concepts.

## To-Do List

- ✅ Build a Promise from scratch.
- ❌ Polyfill for `bind()`, `call()`, and `apply()`.
- ❌ Debounce and throttle functions.
- ❌ Deep clone an object.
- ❌ Implement an Event Emitter (Pub-Sub pattern).
- ❌ Create a custom `setTimeout` using `setInterval`.
- ❌ Implement a function similar to `Promise.all()`, `Promise.race()`, and `Promise.any()`.
- ❌ Implement a simple caching mechanism (Memoization).
- ❌ Custom `flatten()` function for nested arrays.
- ❌ Write a polyfill for `Array.prototype.map`, `filter`, and `reduce`.

---