JS
challenger
Home
JavaScript Basics
variables
Reassign a value to a variable
Reassign a value to a variable
Assign a new value to the variable
num
. The code will not work the way it is. Find the mistake and fix it. Execute the corrected code.
reset
let num = 1;
let num = 2;
console.log(num);
JavaScript
Run Code
Console