Javascript - Arrays - accessor functions

Preview:

Citation preview

Arrays

Accessor Functions

Accessor Functions

• JavaScript provides a set of functions you can

use to access the elements of an array.

• These functions, called accessor functions,

return some representation of the target

array as their return values.

Searching for a Value

String Representations of Arrays

Creating New Arrays from Existing Arrays

Creating New Arrays from Existing Arrays

Recommended