I have the following function which takes in an object as an argument and uses it to manipulate the object
function manipulateData(obj){ var data = Objec
Maybe use .map() as this returns a new Array?
function manipulateData(obj){ var data = Object.keys(obj).map(function(index){ //Perform the manipulation return obj; } return data; }