Array Methods

Examples:

var myArr = [1, 4, 6, 2];

myArr.length == 4;
myArr.reverse() == [2, 6, 4, 1];

myArr.push(7) 
myArr == [2, 6, 4, 1, 7];

Array Methods courses

Helicopter Game

Create a game where the player pilots a helicopter with the mouse and collects coins while avoiding obstacles

Exercises: Array Methods

Arrays are extremely useful and can do many complicated actions. Array methods help you work with arrays much faster and can really cut down on the length of your programs as well as make them much easier to read and understand.

Array Methods lessons

Helicopter Game: Movement and Coins

In the first part of this course we will be making a simplified version of the game which allows the player to move and to collect coins

Array Methods: Introduction

Learn to use array methods to work with arrays much more efficiently

Array Madness

Learn about accessing and using arrays to form crazy sentences!

Related Links

No links found
About Array Methods

Special functions (methods) you can call on arrays

Badge

Array Methods