Am trying to sum the number of tickets per month. the array I have:
[['tickets', 'month','year'], [1, "june",2016],[3, "june",2015],[1, "december",2015]]
The result I want :
[['year', 'june','december'], [2016,1,0],[2015,3,1]]
but I can't figure out how to do it with javascript. any help? thanks,
['year', 'june','december']come to be? Have you tried anything at all?