Control Flow & Loops

What will the following code output? let x = 1; if(x) { let x = 2; console.log(x); } console.log(x);
Next Question (22/30)