function solution(absolutes, signs) { let answer = 0; absolutes.map((num, i) => { if (signs[i] === false) { num = -num; } answer += num; }); return answer; }