How to itierate over objects in an array? : I have an array object as mentioned below;
var myArray=[{dateformat:"apr1", score:1},{dateformat:"apr2",score:2},{dateformat:"apr3",score:3}];
I would like to extract the values of dateformat into seperate array fex.
var dateArray=["apr1","apr2","apr3"];
var score=[1,2,3];
I am using for loop to extract the index but not able to get the values....
Your help will be appreciated