Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Learn JavaScript Arrays in 30 Minutes
Rating: 5.0 out of 5(10 ratings)
93 students

Learn JavaScript Arrays in 30 Minutes

Gain a solid understanding of arrays in JavaScript and how they're used in real world projects.
Created byDomenic Corso
Last updated 3/2023
English

What you'll learn

  • Gain a solid understanding of the fundamentals of JavaScript arrays
  • Learn how to use JavaScript arrays in your future projects and websites
  • Gain insight of practical usages of JavaScript arrays and their importance in real world projects
  • Be able to create arrays and retrieve items out of them
  • Be able to manipulate arrays by adding items, updating items and removing items
  • Learn how to transform and filter data within an array

Course content

1 section10 lectures44m total length
  • What are Arrays? and Environment Setup3:52
  • How to Create Arrays2:02

    Learn how to create arrays in JavaScript using const numbers and square brackets, log them with console.log, and read their zero-based indices and length.

  • How to Retrieve Items From an Array2:43
  • How to Loop Over an Array6:30
  • How to Append Items to an Array4:08
  • How to Delete Items From an Array5:18

    Learn three common ways to delete items from a JavaScript array: splice by index, and pop or shift to remove the last or first item and return the removed value.

  • How to Create an Array of Objects5:50
  • How to Create Multi-Dimensional Arrays6:09
  • How to Transform Arrays4:02

    Transform items inside an array using the map method with a callback arrow function to update every element, illustrated by doubling numbers 1–5 and transforming lists into objects.

  • How to Filter Arrays4:08

Requirements

  • You'll need a basic understanding of HTML

Description

Let's cut to the chase - in this course, you'll learn the fundamentals of JavaScript arrays in about 30 minutes.


This course is perfect if you've dabbled in HTML and CSS and want to educate yourself on JavaScript arrays. Alternatively, you may be an experienced developer who wants to get a recap on how they work.


JavaScript arrays are like a packet of biscuits. Why? Because it's a collection of similar items in a sequential list. In real-world applications and websites, arrays are used to store a list of data.


To put it simply, there's a very high chance any future project you work on will require arrays in some way, shape, or form. This means you need to gain an understanding of how they work, and what they are ?


You'll learn how to:

  • create arrays

  • retrieve items from an array

  • manipulate arrays by adding, updating, or removing items

  • create arrays of objects

  • create multi-dimensional arrays

  • transform arrays

  • filter arrays


What are my qualifications?

I'm a full-stack developer and have been coding with JavaScript for about 10 years. Over this time, I've seen it all when it comes to JavaScript arrays, and the topics covered in this course are a direct reflection of what I see on a daily basis. If you're ever unsure about any of the topics covered, feel free to send me a message on Udemy ?

Who this course is for:

  • Beginner web developers
  • Beginner web developers who have learnt HTML and want to move onto learning JavaScript
  • Beginner JavaScript developers
  • Developers with experience in other languages (such as Python) who want to learn JavaScript
  • Experienced developers looking for a recap on JavaScript