Skip to content

Completed the task from Muhammad#10

Open
MuhammedDotNet wants to merge 20 commits intoanko-code-academy:mainfrom
MuhammedDotNet:assignment-muhammed
Open

Completed the task from Muhammad#10
MuhammedDotNet wants to merge 20 commits intoanko-code-academy:mainfrom
MuhammedDotNet:assignment-muhammed

Conversation

@MuhammedDotNet
Copy link
Copy Markdown

@MuhammedDotNet MuhammedDotNet commented Dec 15, 2025

Assignment: 01-20 - Complete JavaScript Workshop

Checklist

  • All tests pass (npm run test:01) - Deep Clone
  • All tests pass (npm run test:02) - Debounce & Throttle
  • All tests pass (npm run test:03) - Custom Bind
  • All tests pass (npm run test:04) - Memoization
  • All tests pass (npm run test:05) - Promise Utilities
  • All tests pass (npm run test:06) - Async Queue
  • All tests pass (npm run test:07) - Retry with Backoff
  • All tests pass (npm run test:08) - Event Emitter
  • All tests pass (npm run test:09) - Observable
  • All tests pass (npm run test:10) - LRU Cache
  • All tests pass (npm run test:11) - Singleton
  • All tests pass (npm run test:12) - Factory Pattern
  • All tests pass (npm run test:13) - Decorator Pattern
  • All tests pass (npm run test:14) - Middleware Pipeline
  • All tests pass (npm run test:15) - Dependency Injection
  • All tests pass (npm run test:16) - State Machine
  • All tests pass (npm run test:17) - Command Pattern
  • All tests pass (npm run test:18) - Strategy Pattern
  • All tests pass (npm run test:19) - Proxy Pattern
  • All tests pass (npm run test:20) - Builder Pattern
  • Code follows the existing style
  • No modifications to test files

Notes

Core JavaScript Mastery (01-04)

  • Deep cloning with circular reference handling using WeakMap
  • Debounce and throttle implementations with cancel support
  • Custom bind with partial application and constructor support
  • Memoization with TTL, LRU eviction, and custom key generation

Async Patterns (05-07)

  • Promise utilities: all, race, allSettled, any from scratch
  • Async queue with concurrency control and priority support
  • Retry mechanism with exponential backoff and jitter

Design Patterns (08-20)

  • Event Emitter with pub/sub pattern
  • Observable with reactive operators (map, filter, take, skip)
  • LRU Cache with O(1) operations
  • Singleton pattern (class-based and factory-based)
  • Factory pattern with type registration
  • Decorator pattern with function composition
  • Middleware pipeline with async support
  • Dependency Injection container with circular dependency detection
  • State Machine with transitions and guards
  • Command pattern with undo/redo
  • Strategy pattern with interchangeable algorithms
  • Proxy pattern with ES6 Proxy API
  • Builder pattern with fluent interfaces

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant