JavaScript for Beginners | Arrays: Adding and Removing Elements

Kevin Chisholm, Web Development Consultant - JavaScript

Play Speed
  • 0.5x
  • 1x (Normal)
  • 1.25x
  • 1.5x
  • 2x
10 Videos (26m)
    • Introduction - Adding an element to the end of an Array

      3:25
    • Removing the last Array element

      2:45
    • Adding an element to the beginning of an Array

      2:34
    • Removing the first Array element

      2:23
    • Adding / Removing Elements in the Middle - Discussion

      3:32
    • The splice() method always returns an Array

      0:59
    • Adding Elements in the Middle

      2:29
    • Removing Elements in the Middle

      3:34
    • Adding AND Removing Elements in the Middle

      2:02
    • Class Summary

      1:55

About This Class

dceea2f8

Arrays are a very important topic in JavaScript. They provide a way in which to store one or more values in a list. When getting started with Arrays, adding and removing elements is a common task.

In this class, you will learn how to add elements to and remove elements from a JavaScript array. In Part I, we will focus on the beginning and end of the array and in Part I, we''ll learn how to add and remove elements in the middle of the array.

Outline

Part I - Working with the ends of a JavaScript array

  1. Adding an element to the end of a JavaScript array
  2. Removing the last element from the end of a JavaScript array
  3. Adding an element to the beginning of a JavaScript array
  4. Remove the first element of a JavaScript Array

Part II - Working with the middle of a JavaScript array

  1. The splice() method - Overview
  2. Removing elements using the splice() method
  3. Adding elements using the splice() method
  4. Removing and Adding elements using the splice() method 

4

Students

--

Projects

0

Reviews (0)

Kevin Chisholm

Web Development Consultant - JavaScript

I am a Web Developer focused on object-oriented JavaScript, Angular.js & Node.js. I have provided services to titles such as ConsumerReports.org, MyRecipes.com, ThisOldHouse.com, Instyle.com, AllYou.com, TravelAndLeisure.com, SouthernLiving.com, Health.com, Sunset.com, TimeForKids.com, SportIllustrated.com, CoastalLiving.com, People.com, TDAmeritrade.com, GreenMountainPower.com, Aquent & Aquent Gymnasium.

In my free time, I write about Front-End technologies: https://blog.kevinchisholm...

See full profile