Arrays and Objects not logging to console


I am logging the third element but it won't let me past.

Oops, try again.
Make sure you log the third element of the languages array to the console.

var languages = ["HTML", "CSS", "JavaScript", "Python", "Ruby"];
console.log = (languages[2]);


you dont need { }

and remove =




TypeError: console.log is not a function


copy the code then refresh/reload your browser and paste it


Thanks, that worked.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.