I'm beginner and have one question.
I have one um array and need show just 2 in 2 elements of array elements, my code is:
var datas = [];
followTotalsData.forEach(function(dataByDay) {
datas.push(dataByDay[1]);
});
datas = [1, 2 , 3 , 4, 5, 6, 7, 8, 9, 10];
But I need the array formated as
var newDatas = [2, 4, 6, 8, 10];