JavaScript arrays and collections: organize, traverse, and transform
Organize data in arrays, manage elements, traverse collections, and use modern methods to transform, select, and query information. Integrate these skills in grade management with reusable functions.
- Level
- Beginner
- Lessons
- 5
- Learning steps
- 65
Your lesson journey
Each lesson has a purpose. Follow the order or revisit an idea you want to practise.
5 of 5 lessons shown
The numbers show the lesson order, not your progress.
What you will learn
Create arrays and distinguish elements, indices, and length. Query and replace values without confusing const with immutability. Add and remove elements and interpret each method's return value. Search values with includes and indexOf. Traverse arrays with for, for...of, and forEach and explain callbacks. Transform and select through map and filter. Search and check conditions through find, some, and every. Build reusable grade-management and averaging functions. Test empty, single-element, and multiple-element collections and correct boundary and return errors.
Before you start
Have completed courses 01 through 10 of Fundamentos de Programación or know variables and constants, basic types, operators, conditionals, loops, functions, parameters, return, and arrow functions. No array experience or additional installations are required.
About this course
Read the full description
Five complete lessons moving from individual values to collections of numbers and text. Codi guides you with worked examples, index diagrams, trace tables, activities with specific feedback, and modifiable labs.
Progression starts with creation and access, continues with modifications, traversal, and callbacks, and reaches map, filter, find, some, and every. The challenge integrates management functions and an average explicitly handling an empty group.
Examples are independent and use dense arrays without gaps, object literals, or external interfaces. Console visual representations may vary; compare values, order, and result types. Use a fresh context when the console retains previous declarations. Free-form code and reflection have no automatic grading.
This course is part of these learning paths
Follow the suggested order or take this course on its own.