[Solved] How to do simple calculation between two arrays together [closed]


const multipliers = [1, 1.5, 4];

const numbers = [209, 4, 23];

const result = numbers.reduce((pre, cur, index) => pre + cur*multipliers[index], 0);

console.log(result);

solved How to do simple calculation between two arrays together [closed]