Đặng Thị Ngọc Diệp
New member
What will be the output of the following JavaScript code?
A. 135
B. 123
C. 013
D. 01
Code:
var a= 0;
var b = 0;
while (a < 3)
{
a++;
b += a;
console.log(b);
}
B. 123
C. 013
D. 01