Arreglos y metodos Flashcards

1
Q

Arreglo Básico

A

let users =[
{
name: “Calvin”,
surname: “Hart”,
age: 66,
email: “CalvinMHart@teleworm.us”
},
{
name: “Mateus”,
surname: “Pinto”,
age: 21,
email: “MateusPinto@dayrep.com”
}
];

console.log(users[0].name); // -> Calvin
console.log(users[1].age); // -> 21

How well did you know this?
1
Not at all
2
3
4
5
Perfectly