Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
JavaScript Array Methods and Objects Data Structures
Rating: 4.2 out of 5(174 ratings)
23,486 students

JavaScript Array Methods and Objects Data Structures

Arrays are a fundamental building blocks of JavaScript this course will help you better understand how to utilize arrays
Created byLaurence Svekis
Last updated 11/2022
English

What you'll learn

  • use arrays in JavaScript
  • Apply Arrays within web code
  • Use arrays and apply functions to sort array data

Course content

2 sections28 lectures3h 53m total length
  • Getting Started course introduction arrays and Objects JavaScript1:31

    Explore how JavaScript arrays and objects hold data, learn commonly used array methods, and manipulate, access, and output items in web pages.

  • Source Code and Resource Guide for Course4:51
  • How to Create an Array JavaScript7:54

    Create and compare arrays in JavaScript using literals and constructors, explore the length property, zero-based indexing, and arrays with mixed data types.

  • Nested Arrays Select Values from inner Array JavaScript8:22

    Explore nested arrays in JavaScript, learn to access inner arrays with indices, loop through items, and render results to the page with the document and console.

  • Common Array Static Methods and creating Arrays coding examples11:01

    Learn to use array methods in JavaScript, such as Array.from and Array.of, convert strings and node lists to arrays, and apply map, isArray checks, split, and spread to create arrays.

  • JavaScript Objects object literal and constructor12:54

    Explore creating objects in JavaScript using literal and constructor forms, access values with dot and bracket notation, and use this in methods while handling strings, data types, and nested objects.

  • JavaScript Object static Methods Using Object Data14:43

    Learn how to merge and clone objects with Object.assign, convert objects to strings with JSON.stringify and JSON.parse, and use Object.freeze, Object.seal, and Object.isFrozen to manage and test object state.

  • Loop Object Values Iterate Key and Values JavaScript8:53

    Learn how to convert object content into arrays and loop through keys and values using Object.entries, Object.keys, and Object.values, then render results on a web page.

  • How to clone and duplicate JavaScript Arrays9:23

    Learn to manipulate arrays in JavaScript by using the length property to create or clear empty slots, clone arrays, and concatenate or split strings into arrays.

  • Iterate and Loop Array items Output Values with JavaScript11:49

    Explore how to loop through arrays using for, while, for each, map, and filter, outputting items and indices to the console or page.

  • JavaScript Array and Object entries Next iterator Values8:41

    Explore the array and object entries and the next iterator, learning how to loop through items with for loops, while loops, and for...of, retrieving index and value with console.log.

  • Array Update Methods Changing Array Values15:50

    Explore JavaScript array update methods, including push, unshift, shift, and pop, and learn slice vs splice, join, and toString for manipulating and displaying array values.

  • Clean up Array items remove duplicates and False values4:09

    Learn how to clean up array items in JavaScript by removing duplicates with a new Set while preserving empty values, then use a boolean filter to exclude false values.

  • How to Filter Array Items Filter Method with JavaScript10:24

    Learn to filter arrays with JavaScript's filter method, using length checks, index-based criteria, type checks, boolean cleanup of falsy values, and uppercase-first-letter rules.

  • Index value and checking if array Includes values8:09

    Use indexOf and lastIndexOf to locate item positions, includes to verify presence, and findIndex with a callback to find the first matching element; return -1 when not found.

  • How to use the Array Map Method create new array13:16

    JavaScript's map creates a new array by applying a callback to each element, using item, index, and array. It also demonstrates combining first and last names into full names.

  • How to get Unique Values from an Array with filter Method7:13

    Learn practical ways to extract unique values from arrays in JavaScript using the set approach, spread syntax, and the filter with indexOf technique, with examples using an array with duplicates.

  • JavaScript Array Iterator Keys and next iterator Value5:59

    Explore how to access array keys and values with iterators, use keys() and values() to loop, practice with for and while loops, and inspect next() to retrieve items.

  • How to use the Reduce Array Method count occurrences of values12:19

    Learn how to use the reduce method to sum numbers, count occurrences of values with an object, and generate an array of unique values from an array in JavaScript.

  • Array Sort Method Reverse sort and random sort orders in JavaScript11:13

    Explore how JavaScript's sort method rearranges arrays in place, toggle order with a comparator, handle numbers and strings, and create random orders or pick random items using Math.random.

Requirements

  • Basic JavaScript and HTML
  • Desire to Learn

Description

JavaScript Array and Objects

Methods and code snippets for item values from JavaScript arrays and object data.

Explore JavaScript arrays and objects.  Arrays and objects can hold lots of data, there are many array methods that can be used in order to access, sort and organize the data contained within the arrays.  Use of Objects combined with arrays allows applications to manage data effectively and easily.  This course is focused specifically on JavaScript arrays and objects and will help demonstrate common methods that can be applied to them.

Includes a 30+ page Downloadable PDF guide that can be used along side lessons, includes source code and more!

Course covers the following topics and commonly asked questions about how to use arrays and objects in code.

  • JavaScript Array and Objects

  • How to Create an Array JavaScript

  • Nested Arrays Select Values from inner Array JavaScript

  • Common Array Static Methods and creating Arrays coding examples

  • JavaScript Objects object literal and constructor

  • JavaScript Object static Methods Using Object Data

  • Loop Object Values Iterate Key and Values JavaScript

  • How to clone and duplicate JavaScript Arrays

  • Iterate and Loop Array items Output Values with JavaScript

  • JavaScript Array and Object entries Next iterator Values

  • Array Update Methods Changing Array Values

  • Clean up Array items remove duplicates and False values

  • How to Filter Array Items Filter Method with JavaScript

  • Index value and checking if array Includes values

  • How to use the Array Map Method create new array

  • How to get Unique Values from an Array with filter Method

  • JavaScript Array Iterator Keys and next iterator Value

  • How to use the Reduce Array Method count occurrences of values

  • Array Sort Method Reverse sort and random sort orders in JavaScript

Learning how to use arrays within JavaScript will help you better develop JavaScript code. Arrays are one of the fundamental building blocks of JavaScript!

Learn how to store values in arrays and how to work with arrays to utilize data.

Storing Values Working with Arrays

Lets you store multiple values in single variable

  • creating Arrays

  • literal array

  • JOIN()

  • PUSH()

  • SORT()

  • FOREACH()

  • POP()

  • SHIFT()

  • SPLICE()

  • REVERSE()

  • TOSTRING()

By the end of the course you will have the skills and know how to apply arrays within you website.   

I am here to help you learn how to create your own websites and ready to answer any questions you may have.

JavaScript is the most in demand skills, and learning how to use JavaScript will help to separate you from the crowd.

Want to know more, what are you waiting for take the first step.  Join now to start learning how you too can create arrays within your website today.


Who this course is for:

  • JavaScript Developers
  • Anyone who wants to learn more about JavaScript Arrays