Question from the Javascript test

How to retrieve the second value from an array in Javascript

Hard

Consider the following code:

let fruits = ['apple', 'banana', 'cherry'];

How can you retrieve the second value from the fruits array?

Author: AxelStatus: PublishedQuestion passed 33 times
Edit
0
Community EvaluationsNo one has reviewed this question yet, be the first!