Arrays in Javascript

Assess your knowledge of arrays in Javascript by implementing the following functions.

We'll cover the following...

Assess your skills

Test your concepts of arrays by determining the location of an item in an array.

Press + to interact
indexOf = function(arr, item) {
}

Evaluate your concepts by populating an array.

Press + to interact
sum = function(arr) {
}

Evaluate yourself by returning a ...