What is the result of the following code?
let sum = 0; for (let i = 1; i < 4; i++) { sum += i; } console.log(sum);
7
6
4
3