2. Access by offset


#1

why is it wrong?

var languages = ["HTML", "CSS", "JavaScript", "Python", "Ruby"];

languages[2];


#2

Hi you should put language[2] inside console.log() like that

console.log(languages[2])

#3

oh thank you.
but it was printing the same on the screen even without console.log!