const arr = [1, 2, 3]; const syncRes = arr.map((i) => { return i + 1; }); console.log(syncRes); // 2,3,4