Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
JavaScript Arrays and Objects Basic Data Structures
Rating: 4.5 out of 5(81 ratings)
4,446 students

JavaScript Arrays and Objects Basic Data Structures

Explore how you can use JavaScript to get array items with commonly used array methods
Created byLaurence Svekis
Last updated 11/2024
English
English [Auto],

What you'll learn

  • How to apply JavaScript code
  • Learn more about using Array methods
  • How to get values from an array
  • How to manipulate array contents

Course content

2 sections11 lectures1h 2m total length
  • Introduction to array methods coding examples in JavaScript1:25

    Explore JavaScript arrays with practical coding examples that demonstrate common array methods to manipulate array data, view results in the browser console, and follow a downloadable pdf guide.

  • Lesson source code and resource guide1:29
  • Clear Array of Duplicates and empty values4:11

    Discover how to clean an array by removing duplicates and false values, undefined, null, and zero using a set and boolean filter for a clean, unique result.

  • How to loop through an array7:41

    Explore how to loop through arrays using for, while, and for each, then create new arrays with map and filter while logging results to the console.

  • Array Updating adding and removing array items5:19

    Explore how to update arrays in JavaScript by using push, shift, pop, and unshift to add or remove items, and convert arrays to strings with toString and join.

  • JavaScript Map Method for Arrays new array13:03

    Use the map method to create a brand new array from an existing one, using item and index in the callback, and build full names from first and last names.

  • How to concat arrays and duplicate an array4:14

    Learn how to concatenate arrays, duplicate an array to avoid shared memory, and see how assigning arrays affects memory location and linked updates.

  • Array iterator entries using entries and looping items6:25

    Explore the array entries iterator to loop through items and retrieve index and value. Use next, for loops, and while loops to output each item to the console.

  • Array Filter Method Example for JavaScript Arrays10:34

    Explore the array filter method in JavaScript by applying multiple filters: length checks, index-based selection, type checks, and cleanup with boolean values to produce a clean, new array.

  • Array includes Method and index methods JavaScript coding Example8:02

    Explore how JavaScript array methods like includes, indexOf, lastIndexOf, and findIndex locate values and return indices or booleans, with practical examples and behavior when items are not found.

Requirements

  • HTML CSS and JavaScript
  • Prior coding experience is required

Description

Welcome to the JavaScript array methods quick coding course.

*****Prior coding experience is required*****

The lessons are designed to help you learn more about using JavaScript Array methods.

Source code is included with coding examples.

Downloadable PDF guide is included, suggested is to try the code out for yourself as you go through the lessons of this course.

This mini course is setup in response to commonly asked questions about array methods, it highlights how to use JavaScript array methods.  Apply JavaScript code to do more with the items contained within an array.

The focus on the lessons of this course is to explore more about what can be done with JavaScript arrays.

Arrays allow web developers to hold multiple values, and array methods provide a powerful way to interact with the contents of the array.

Course is fast paced and covers coding with JavaScript

  • Clear Array of Duplicates and empty values

  • How to loop through an array

  • Array Updating adding and removing array items

  • JavaScript Map Method for Arrays new array

  • How to concat arrays and duplicate an array

  • Array iterator entries using entries and looping items

  • Array Filter Method Example for JavaScript Arrays

  • Array includes Method and index methods JavaScript coding Example

Brought to you by an instructor with over 20 years of web development experience, ready to help you learn JavaScript.

These coding exercises are designed to illustrate some of the most commonly asked questions about JavaScript arrays.


Who this course is for:

  • JavaScript coders
  • Web developers
  • Frontend coders