Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

JavaScript: Arrays

via LinkedIn Learning

Overview

This course offers a detailed guide to JavaScript arrays, exploring common use cases and ways they differ from arrays in other languages.

Syllabus

Introduction
  • So many ways to work with arrays
  • What you should know
1. Arrays: The Basics
  • Arrays overview
  • Length property and direct assignment
  • forEach for ease and readability
2. Working with Ordered Data
  • Order arrays with sort
  • Reverse array order with reverse
  • Find a single element with find and findIndex
  • Challenge: Order data
  • Solution: Order data
3. Evaluating Data for a Single Value
  • Does the array Include an element?
  • Do elements pass a test?
  • Challenge: Evaluate data
  • Solution: Evaluate data
4. Implementing Stacks and Queues
  • The end: Push and pop data
  • The beginning: Unshift and shift data
  • Challenge: Stacks and queues
  • Solution: Stacks and queues
5. Bringing It Together: Advanced Methods
  • Reformat data with map
  • Filter data with filter
  • Single values with reduce
  • Flat + map = flatMap
  • Challenge: Advanced methods
  • Solution: Advanced methods
Conclusion
  • Next steps

Taught by

Jamie Pittman

Reviews

4.8 rating at LinkedIn Learning based on 81 ratings

Start your review of JavaScript: Arrays

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.