• Post category:StudyBullet-16
  • Reading time:10 mins read


Accelerate Your JavaScript Skills by Mastering this Very Important Data Structure

What you will learn

Every trick and method for working with arrays.

Different ways to create arrays and work with elements.

Multiple methods for iterating arrays.

Methods for working with array-like data and converting them to arrays.

Unique ways to create arrays and access elements.

Methods on the array prototype and how to use them.

Methods preferred with the functional programming paradigm.

Ways to combine arrays and extract values.

Multiple ways to search arrays for values.

Process of working with Maps and Sets.

Description

Effectively working with arrays is critical to any JavaScript programmer. Arrays are an important data structure, and this course will provide you with the competency you need to master them.

In this course you are going to learn all there is to know about JavaScript arrays. I start from the beginning, so if you are comfortable with JavaScript, you may want to use the first section as a review or skip it. You will learn the basics of different ways to create an array and work with the elements. You will learn the basics of iterating an array and some unique ways to create arrays and access elements. You will learn all the methods to modify or mutate an array, as well as those methods that are preferred in the functional programming world because they preserve the original array. You will learn how to combine arrays and extract values as well as multiple ways to search arrays for values. We will end with a look at some array-like collections available in JavaScript and how you can use those.


Get Instant Notification of New Courses on our Telegram channel.


By taking this course:

  • You will feel more comfortable working with arrays in any coding problem you encounter.
  • You will become more familiar with functional methods for working with arrays (reduce, map, filter).
  • You will become familiar with and use all the different methods for manipulating an array in JavaScript.
  • You will be able to work with arrays using different techniques.

If you learn by doing, this course gives you plenty of chances to work on an exercise and then sit back and watch as I go through that exercise. Jump in today and begin mastering JavaScript Arrays!

English
language

Content

Introduction

Welcome and Introduction
Making the Most of this Course

The Basics of JavaScript Arrays

The Nature of JavaScript Arrays
Creating Arrays
Using Array.of to Create an Array
Using Array.fill to Create an Array
Reading and Writing Array Elements
Sparse Arrays
Working with the length Property
Deleting Array Elements
Using Arrays as Stacks (push and pop)
Using unshift and shift
Exercise 1 Start
Exercise 1 Finish

The Basics of Iterating Arrays

Iterating an Array with the for Loop
Exercise 2 Start
Exercise 2 Finish
Review Topic: Understanding the Prototype
Review Topic: Understanding the Ternary Operator
Should You Use the for in Loop on Arrays?
Using the for of Loop
Exercise 3 Start
Exercise 3 Finish

Working with Array-like Collections

Understanding Array-like Collections
Converting Array-like Collections to Arrays
Converting a String to an Array
Accessing Characters in a String
Using split to Create an Array from a String
Gathering Arguments into an Array
Accessing Array Values with a Statement
Converting Object Properties to an Array
Exercise 4 Start
Exercise 4 Finish
Checking for Array-like Collections

Working with Methods that Mutate

Should you Mutate an Array?
Reversing the Elements in an Array
Sorting the Elements in an Array
Sorting an Array of Objects
Using the Splice Method
Copying Elements Within an Array
Understanding the Array Prototype
Cloning an Array
Method Chaining
Exercise 5 Start
Exercise 5 Finish

Iterating Arrays Using Array Methods

Introducing Iterating over an Array Using Array Methods
Using the forEach Method
Using the map Method
Using the filter Method
Using the reduce and reduceRight Methods
Using the every Method
Using the some Method
Exercise 6 Start
Exercise 6 Finish
Review Topic: Arrow Functions
Exercise 7 Start
Exercise 7 Finish
Exercise 8 Start
Exercise 8 Finish
Passing a Function to Array.from

Multidimensional Arrays in JavaScript

Introducing Multidimensional Arrays in JavaScript
Building a Matrix

Combining Arrays and Extracting Values

Introduction
Using the join Method
Combining Arrays Together
Extracting a Subarray from an Array
Flatten an Array
Understanding toString
Exercise 9 Start
Exercise 9 Finish
Exercise 10 Start
Exercise 10 Finish

Methods for Searching for Values in Arrays

Introduction to Searching
Using indexOf and lastIndexOf
Checking an Array Using includes
Review Topic: Coercion
Using More Flexible Comparisons with find
Using More Flexible Comparisons with findIndex
Exercise 11 Start
Exercise 11 Finish
Exercise 12 Start
Exercise 12 Finish

Using Array-like Collections

Introduction to Sets and Maps
Understanding the Relationship Between Objects and Maps
Creating Maps
Working with Sets
Exercise 13 Start
Exercise 13 Finish

Conclusion

Congratulations!
BONUS Lecture! Discounts on Other Courses