What value is printed when executing the following code?
let result = 1;
for (let i = 1; i <= 3; i++) {
result *= i;
}
console.log(result);
What value is printed when executing the following code?
let result = 1;
for (let i = 1; i <= 3; i++) {
result *= i;
}
console.log(result);