← All Learning Paths

JavaScript Mastery

A JavaScript path covering closures, the event loop, prototypes, async queues, retries, rate limiting, streams, and practical exercises.

technicalintermediate10 nodes11.25h total

A deep-dive learning path for JavaScript mastery covering core language, ES6+ features, async patterns, the event loop, modules, and advanced concepts for expert-level proficiency.

  1. Adapt "Deep Clone With Cycle Detection" to a second input and compare the new output with the behavior described in "A structural deep clone that handles cycles and shared references without infinite".

    Completion criteria: Paste the command, the exit code, and the output line matching "A structural deep clone that handles cycles and shared references without infinite"; then show a second run with a changed parameter.

    Next step: Debounce With Trailing Edge Invocation

    ⏱ 0.75h

  2. Execute "Debounce With Trailing Edge Invocation", change one constant, and describe how the output diverges from "A debounce utility that collapses rapid calls into one trailing invocation with flush and".

    Prerequisites: Deep Clone With Cycle Detection

    Completion criteria: Save two runs of "Debounce With Trailing Edge Invocation" side by side — the original input and one changed value — and annotate the line where the output diverges.

    Next step: Bounded Async Queue With Backpressure

    ⏱ 0.75h

  3. Run the javascript snippet "Bounded Async Queue With Backpressure", capture stdout, and show which line demonstrates the documented behavior: "A bounded async queue that applies backpressure to producers when full and drains to".

    Prerequisites: Debounce With Trailing Edge Invocation

    Completion criteria: Attach the terminal transcript for "Bounded Async Queue With Backpressure": command, exit code, and the printed result you used to confirm "A bounded async queue that applies backpressure to producers when full and drains to".

    Next step: Retry Fetch With Exponential Backoff

    ⏱ 0.75h

  4. Adapt "Retry Fetch With Exponential Backoff" to a second input and compare the new output with the behavior described in "A resilient fetch wrapper that retries failed requests with exponential backoff and a".

    Prerequisites: Bounded Async Queue With Backpressure

    Completion criteria: Change one constant in "Retry Fetch With Exponential Backoff", rerun, and attach both stdout captures plus a one-line diff explaining what moved.

    Next step: Token Bucket Throttle With Burst Capacity

    ⏱ 0.75h

  5. Execute "Token Bucket Throttle With Burst Capacity", change one constant, and describe how the output diverges from "A token bucket limiter that refills at a steady rate, allows bursts up to capacity, and".

    Prerequisites: Retry Fetch With Exponential Backoff

    Completion criteria: Paste the command, the exit code, and the output line matching "A token bucket limiter that refills at a steady rate, allows bursts up to capacity, and"; then show a second run with a changed parameter.

    Next step: Parse JSON Lines Records Incrementally

    ⏱ 0.75h

  6. Run the javascript snippet "Parse JSON Lines Records Incrementally", capture stdout, and show which line demonstrates the documented behavior: "An incremental JSON Lines reader that yields parsed records line by line with strict".

    Prerequisites: Token Bucket Throttle With Burst Capacity

    Completion criteria: Save two runs of "Parse JSON Lines Records Incrementally" side by side — the original input and one changed value — and annotate the line where the output diverges.

    Next step: Event Emitter Class

    ⏱ 0.75h

  7. Implement "Event Emitter Class" so that An EventEmitter instance with event registration and emission capabilities. yields fn called with data, including the edge case in the second sample.

    Prerequisites: Parse JSON Lines Records Incrementally

    Completion criteria: Show a test command that validates "An EventEmitter instance with event registration and emission capabilities." and "fn called with data" and passes after your fix.

    Next step: LRU Cache Implementation

    ⏱ 0.5h

  8. Complete "LRU Cache Implementation" by making An LRUCache instance with get(key) and put(key, value) methods. produce 1, -1 without hard-coding the sample.

    Prerequisites: Event Emitter Class

    Completion criteria: Submit a solution that passes both samples (An LRUCache instance with get(key) and put(key, value) methods. to 1, -1) and attach the failing case you fixed.

    Next step: Regular Expression Tester

    ⏱ 0.5h

  9. Feed a representative input into "Regular Expression Tester" and verify "regex to matches" by hand.

    Prerequisites: LRU Cache Implementation

    Completion criteria: Paste two input/output pairs from "Regular Expression Tester" and annotate the one where "Test regular expressions against sample text with live match highlighting, capture group" changes the result.

    Next step: Capstone: JavaScript Mastery

    ⏱ 0.25h

  10. Build "Build an In-Process Job Queue with Workers and Retries" through its phases, keeping "Execute jobs through a bounded pool with configurable concurrency." independently testable.

    Prerequisites: Regular Expression Tester

    Completion criteria: Run the project's test command for "Build an In-Process Job Queue with Workers and Retries", paste the passing output, and attach the acceptance note for "Execute jobs through a bounded pool with configurable concurrency." with the test name.

    Next step: Run the capstone's tests, publish the repository, and demo it to a reviewer.

    ⏱ 4h