Error message is incorrect


#1



Use five console.log statements to print out the numbers 1 to 5.
1
2
3
ReferenceError: X is not defined


var x = 0;
console.log(++x);
console.log(++x);
console.log(++x);
console.log(++X);
console.log(++x);


#2

No it is correct you once used an uppercase X
PS: the 4th