Easy
What will be the output of the following code, and why?
1let items = [4, 8, 12];2let factor = 3;34let result = items.map((item, index) => {5 if (index % 2 === 0) {6 return item * factor;7 } else {8 return item / factor;9 }10}).filter(item => item > 10).reduce((sum, item) => sum + item, 0);1112console.log(result);