JavaScript for Beginners | Arrays: Adding and Removing Elements

Kevin Chisholm, Guitarist

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

Guitarist

I have been playing guitar since 1978. Live performance has always been my specialty. I grew up on 70's Classic Rock and enjoy playing Blues, R&B, Soul and Funk as well. As a big fan of guitar building / modifications and general tinkering. I've had the pleasure of performing internationally with Blues Rock Band "The HEALERS!", Gospel Sensation Liz McComb and Nigerian Blues knockout Justina Lee Brown. 

 

See full profile