Analyze the code snippet:
let summer = ["June", "July", "August"]; let index = summer.indexOf("June");
The index variable
will have the value:
0
1
True
"June"
Answers Explanation & Hints:
The Since arrays in JavaScript are zero-based, meaning the first element has an index of 0, the |