For discusion: what about that filter function will be closure (filtetrData) => (month) => month['number'] % filtetrData.value == 0;