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
- Host: GitHub
- URL: https://github.com/mohit251103/js_implements
- Owner: Mohit251103
- Created: 2025-03-04T18:07:30.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-05T18:03:43.000Z (over 1 year ago)
- Last Synced: 2025-03-05T19:20:32.543Z (over 1 year ago)
- Topics: javascript, promises-in-javascript, typescript
- Language: TypeScript
- Homepage:
- Size: 1.95 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`.
---