array access

Prev Top Next
var words = [ 
 'foo'
 'bar'
 'baz' 
]; 
 
// How do you access items in an Array? 
// ?// A: With square bracket notation, passing in the index: `words[0]`.