01 / 05
Where you were taking things out by number
To take a value out of an array you have written the number, as in ranking[0]. Two lines if you want the top two as variables.
The same as with objects: near-identical lines in a row. And shift one number by one and a different person quietly goes in.
const ranking = ["Yui", "Haruto", "Minato"];const first = ranking[0];const second = ranking[1];console.log(first);console.log(second);Result
Yui Haruto