repl.it
Nodejs

No description

fork
loading
Files
  • index.js
index.js
1
2
3
4
5
6
7
8
const animals = [
  {name: 'rabbit', species:'jofsid'},
  {name:'cat', species:'jfbehj'}
]

for (let i=0; i<animals.length; i++){
  console.log(animals[i].name)
}