Please enable JavaScript to use CodeHS

AP Computer Science Principles in Roblox

Lesson 6.4 Finding an Element in an Array

Description

In this lesson, students will learn how to find specific elements while looping through an array.


Objective

Students will be able to:

  • Use the length of an array and a for loop to loop through the elements in an array
  • Loop over an array to filter or print certain elements based on tested criteria