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