This repository contains my ES6 (ECMAScript 6) practice problems.
The main goal of this repository is to build a strong understanding of modern JavaScript by solving problems using ES6 features instead of traditional loops and older syntax.
Topics covered include:
- Arrow Functions
- Template Literals
- Spread Operator
- Method Chaining
map()filter()find()reduce()
ES6-Problem-Solving/
│
├── Map/
├── Filter/
├── Find/
├── Reduce/
└── Mixed-ES6/
Each folder contains topic-specific problems and solutions.
- Double Every Number
- Convert Names to Uppercase
- Extract Product Names
- Add VAT
- Format Users
- Get Even Numbers
- Adults Only
- Expensive Products
- Long Words
- Active Employees
- Find First Even Number
- Find First Adult
- Find Expensive Product
- Find First Long Word
- Find Active High Salary Employee
- Sum of Numbers
- Product of Numbers
- Total Cart Price
- Count Total Characters
- Calculate Average
- Get Active User Names
- Find Highest Paid Employee
- Increase Salary by 10%
- Total Salary of Active Employees
- Generate User Salary Report
- Writing clean ES6 code
- Arrow Functions
- Array Methods
- Method Chaining
- Object Spread Operator
- Template Literals
- Data Validation
- Problem Solving
- Clean Code Practices
After completing these problems, I became comfortable with:
- Choosing the right ES6 array method based on the problem.
- Combining multiple array methods in a single solution.
- Writing cleaner and more readable JavaScript.
- Working with arrays, objects, and strings using modern JavaScript.
- More JavaScript Problem Solving
- Data Structures & Algorithms (DSA)
- React.js
- Node.js
- Full Stack Development
This repository is a one-time ES6 practice collection created to strengthen my understanding of modern JavaScript before moving on to advanced problem solving and DSA.
Made with ❤️ using JavaScript.