I have a following code,
var options = {
'x': 250,
'isVirtual': true,
}
var arr[0] = {
'y': 250,
}
i need to add the options keys(instance) to arr[0].. how to add?
my expectation output is,
arr[0] = {
'x': 250,
'isVirtual': true,
'y': 250,
}