0👍
✅
You need to index your records array.
var object = {
name: this.records[someIndex].name,
order: this.records[someIndex].order
};
Source:stackexchange.com