Skip to content

Latest commit

 

History

History
37 lines (20 loc) · 1.53 KB

File metadata and controls

37 lines (20 loc) · 1.53 KB

JavaScript Arrays, Objects & Methods

My JavaScript Learning Journey

When I started learning JavaScript, I wanted to understand how data is stored, accessed, and transformed.

So instead of only reading about loops and array methods, I decided to practice them with small examples.

I started with a simple array and explored different ways to access its values using the for loop, forEach(), for...in, and for...of.

Then I moved to objects and learned how the for...in loop can be used to access their properties and values.

After understanding how to access data, I wanted to learn how to transform and process arrays.

That's where map(), filter(), and reduce() came in.

  • With map(), I practiced changing array values and creating a new array.
  • With filter(), I practiced selecting values based on a condition.
  • With reduce(), I practiced processing an entire array and getting a single final value.

What This Project Taught Me

This project helped me understand that JavaScript provides different ways to work with data depending on what I want to achieve:

Access → Transform → Filter → Reduce

These may look like simple exercises, but they are helping me build the foundation I need to write cleaner and more effective JavaScript code.

What's Next?

This is one step in my JavaScript learning journey.

I will continue building small projects and practicing concepts until these fundamentals become natural to me.

Connect With Me

LinkedIn