This folder contains assignments focused on problem solving using JavaScript built-in functions.
You can follow the recommended order below or complete them in any sequence you prefer.
- Count Characters
- Count Occurrences
- Count Vowels
- Reverse String
- Fibonacci
- Find Duplicates
- Perfect Number
- Non-repeat Character
- Primes Up To 100
- Reverse Integer
- String Compression
- Compress Words
- Unique Elements
- Ensure you have Node.js installed.
- Clone or download this repository.
- Navigate to the respective assignment folder and execute the script using Node.js.
- Copy the assignment code to Replit.
- Execute the script in Replit's environment.
- Navigate to /Javascript-Assignments/js-built-ins.
- Install dependencies using:
npm install
- Run specific tests with:
Example:
npm run <test-name>
npm run test-duplicates
- To execute all tests at once, run:
npm run all
For a walkthrough on navigating through the assignments, check out this demo video: