This repository contains my solutions to LeetCode's 30 Days of JavaScript study plan, solved in plain JavaScript (no external libraries).
The goal is to practice and strengthen key language concepts: higher-order functions, closures, array handling, asynchronous programming, and more.
| # | Exercise | Topic | Solution |
|---|---|---|---|
| 01 | Create Hello World Function | Functions | 01_CreateHelloWorldFunction.js |
| 02 | Counter | Closures | 02_Counter.js |
| 03 | To Be Or Not To Be | Functions / Assertions | 03_ToBeOrNotToBe.js |
| 04 | Counter II | Closures | 04_CounterII.js |
| 05 | Apply Transform Over Each Element in Array | Array.map | 05_ApplyTransformOverEachElementinArray.js |
| 06 | Filter Elements from Array | Array.filter | 06_FilterElementsfromArray.js |
| 07 | Array Reduce Transformation | Array.reduce | 07_ArrayReduceTransformation.js |
| 09 | Return Length of Arguments Passed | Functions / Rest params | 09_ReturnLengthofArgumentsPassed.js |
| 10 | Allow One Function Call | Closures / Higher-Order Functions | 10_AllowOneFunctionCall.js |
├── 01_CreateHelloWorldFunction.js
├── 02_Counter.js
├── 03_ToBeOrNotToBe.js
├── 04_CounterII.js
├── 05_ApplyTransformOverEachElementinArray.js
├── 06_FilterElementsfromArray.js
├── 07_ArrayReduceTransformation.js
├── 09_ReturnLengthofArgumentsPassed.js
├── 10_AllowOneFunctionCall.js
└── README.md
Each file follows the NN_ExerciseName.js convention, where NN is the day/exercise number in the study plan.
- Practice modern JavaScript (ES6+) on a daily basis.
- Reinforce functional programming concepts (map, filter, reduce, closures).
This project is free to use for educational purposes.