{
name: 'Vasya',
age: 12,
job: 'developer'
}
{
age: 12,
job: 'developer',
name: 'Vasya',
}
[
{ name: 'Vasya', job: 'banker' },
{ name: 'Petya', job: 'developer' }
]
@click="indexes = [2, 3]"
data () { return { indexes: [0, 1], } },
computed: {
filtered () {
return this.parsedCSV.map(row =>
row.filter((r, i) => {
this.indexes.forEach(index => {
index === i
})
})
);
}
}