JS
challenger
Home
JavaScript Basics
variables
Assign the value of another variable
Assign the value of another variable
Here, we have two variables
numOne
and
numTwo
.
numOne
already has a value. Assign
numTwo
the value of
numOne
and run the code.
reset
let numOne = 5;
let numTwo;
console.log(numTwo);
JavaScript
Run Code
Console