Skip to content

Latest commit

 

History

History
57 lines (40 loc) · 1.26 KB

File metadata and controls

57 lines (40 loc) · 1.26 KB

JavaScript Assignments

This folder contains assignments focused on asynchronous JavaScript.

Assignment Categories

Assignments are now organized by topic and then by difficulty:

1. Callbacks (Easy, Medium, Hard)

2. Promises (Easy, Medium, Hard)

3. CPU-IO (Easy, Medium, Hard)


Development Setup

Option 1: Run Locally (Requires Node.js)

  1. Ensure you have Node.js installed.
  2. Clone or download this repository.
  3. Navigate to the respective assignment folder and execute the script using Node.js.

Option 2: Run on Replit (No Local Setup Required)

  1. Copy the assignment code to Replit.
  2. Execute the script in Replit's environment.

Running Tests

For Hard-Level Assignments

  1. Navigate to /Advanced-Javascript-Assignments/async-js-patterns.
  2. Install dependencies using:
    npm install
  3. Run specific tests with:
    npm run <test-name>
    Example:
    npm run processLargeArray
  4. To execute all tests at once, run:
    npm run all

Demo Video

For a walkthrough on navigating through the assignments, check out this demo video:

Kapture.2026-02-01.at.01.21.26.mp4