I have array like this
var arr = [
[ {"c": 1},{"d": 2} ],
[ {"c": 2},{"d": 3} ]
]
I want to change into (by javascript only)
var newArr = [{"c": 1},{"d": 2},{"c": 2},{"d": 3}]
I have tried this by map but not getting expected output .