javascript get element by name in an array code example Example: get item in array from index var valueAtIndex1 = myValues[1];