const auto = {
marca: "Ford",
modelo: 1967,
interiores: []
}
const int = [
"Piel",
"Tapiceria color Vino",
"Tapetes"
]
auto.interiores.push(int)
console.log( auto )
The returned result is:
{
marca: 'Ford',
modelo: 1967,
interiores: [ [ 'Piel', 'Tapiceria color Vino', 'Tapetes' ] ]
}
The required result is without the double brackets:
{
marca: 'Ford',
modelo: 1967,
interiores: [ 'Piel', 'Tapiceria color Vino', 'Tapetes' ]
}