Please enable JavaScript to use CodeHS

AP Computer Science Principles in Roblox

Lesson 6.2 Adding and Removing Elements from an Array

Description

In this lesson, students will learn how to add and remove elements at the end of an array using the insert and remove methods.


Objective

Students will be able to:

  • Add elements at the end of an array using the insert method
  • Remove elements from the end of an array using the remove method