What will be the result? console.log(a); var a; and here? a; const a;
Sigiloso
In general, I'm not sure about the answer, since I never do that, since the IDE will always highlight the error and I will fix it. But I think in the first case "undefined" and in the second case "error".