In this example, We will see how we can access javaScript array values by index. vehicles[0] will return "Alto". See the code snippet: