Javascript - Array - Writing

Preview:

Citation preview

Array

Accessing and Writing Array Elements

Starting ...

Array

• Data is assigned to array elements using the [] operator.

Array

• Array elements are also accessed using the [] operator.

Array

• What is the sum of the first 100 whole numbers?

• ?

Array

• Arrays can be created as the result of calling the split() function on a string.

Array

• Aggregate Array Operations on a string.

Array

• Deep copy function

Recommended