Есть объект, хочу вывести только первые три вложенных:
obj = {
0:{
name: "name",
age: "age",
sex: "female",
color: "dark",
car: "bwm"
}
1:{
name: "name",
age: "age",
sex: "female",
color: "dark",
car: "bwm"
}
2:{
name: "name",
age: "age",
sex: "female",
color: "dark",
car: "bwm"
}
3:{
name: "name",
age: "age",
sex: "female",
color: "dark",
car: "bwm"
}
4:{
name: "name",
age: "age",
sex: "female",
color: "dark",
car: "bwm"
}
5:{
name: "name",
age: "age",
sex: "female",
color: "dark",
car: "bwm"
}
}