I have the following code:
var obj = {
"entry": [
{
"obj1": "data1",
"obj2": "data2",
"obj3": "data3",
"obj4": "data4"
}
],
"resourceType": "Bundle",
"total": 100,
"type": "searchset"
}
var arr = [];
var keys = arr.push(obj);
This returns me a number instead of the array with objects. Why is that?