Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🚀 JavaScript ES6 Problem Solving

JavaScript ES6 Problems Status Difficulty

📖 About

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()

📂 Folder Structure

ES6-Problem-Solving/
│
├── Map/
├── Filter/
├── Find/
├── Reduce/
└── Mixed-ES6/

Each folder contains topic-specific problems and solutions.


📚 Topics Covered

✅ map()

  • Double Every Number
  • Convert Names to Uppercase
  • Extract Product Names
  • Add VAT
  • Format Users

✅ filter()

  • Get Even Numbers
  • Adults Only
  • Expensive Products
  • Long Words
  • Active Employees

✅ find()

  • Find First Even Number
  • Find First Adult
  • Find Expensive Product
  • Find First Long Word
  • Find Active High Salary Employee

✅ reduce()

  • Sum of Numbers
  • Product of Numbers
  • Total Cart Price
  • Count Total Characters
  • Calculate Average

✅ Mixed ES6 Challenges

  • Get Active User Names
  • Find Highest Paid Employee
  • Increase Salary by 10%
  • Total Salary of Active Employees
  • Generate User Salary Report

💡 Skills Practiced

  • Writing clean ES6 code
  • Arrow Functions
  • Array Methods
  • Method Chaining
  • Object Spread Operator
  • Template Literals
  • Data Validation
  • Problem Solving
  • Clean Code Practices

🎯 Learning Outcome

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.

🚀 What's Next?

  • More JavaScript Problem Solving
  • Data Structures & Algorithms (DSA)
  • React.js
  • Node.js
  • Full Stack Development

⭐ Repository Purpose

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.

About

A collection of JavaScript ES6 practice problems covering map(), filter(), find(), reduce(), method chaining, and modern JavaScript concepts.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages