We would like to know the output of the following code:
let number = 1; let sum = 0; while (number < 11) { sum += number; ++number; } console.log(sum);
Click to view the answer
55