JS
challenger
Home
JavaScript Basics
variables
Uncomment to Assign a Number
Uncomment to Assign a Number
The code below tries to print the value of
x
, but the variable declaration is commented out. Uncomment that line so the code prints the value of
x
.
reset
// const x = 7;
console.log(x);
JavaScript
Run Code
Console