Junior — Senior
What will be printed in the console for this JavaScript fragment
livecode
Task condition
Determine which values will appear in the console output after executing the following code:
console.clear()
console.log(a)
console.log(b)
console.log(c)
var a = 1
let b = 2
const = 3
Consider the hoisting behavior of variables, differences between var, let, and const, and the fact that declaring const without a name is a syntax error.