JavaScript: Arrays
Offered By: LinkedIn Learning
Course Description
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
- Arrays overview
- Length property and direct assignment
- forEach for ease and readability
- Order arrays with sort
- Reverse array order with reverse
- Find a single element with find and findIndex
- Challenge: Order data
- Solution: Order data
- Does the array Include an element?
- Do elements pass a test?
- Challenge: Evaluate data
- Solution: Evaluate data
- The end: Push and pop data
- The beginning: Unshift and shift data
- Challenge: Stacks and queues
- Solution: Stacks and queues
- Reformat data with map
- Filter data with filter
- Single values with reduce
- Flat + map = flatMap
- Challenge: Advanced methods
- Solution: Advanced methods
- Next steps
Taught by
Jamie Pittman
Related Courses
Intro to Computer ScienceUniversity of Virginia via Udacity Design of Computer Programs
Stanford University via Udacity Analytic Combinatorics, Part I
Princeton University via Coursera Algorithms, Part I
Princeton University via Coursera Algorithms, Part II
Princeton University via Coursera