Answer & Solution
Answer: Option B
Solution:
Reassigning a value to a const variable will cause an error.
let a = 1; let b = 2; let c = a + b; console.log(c);
var a = 1; { var a = 2; } console.log(a);
const a = 10; a = 20; console.log(a);
console.log(a); var a = 10;