This solution is generated by ChatGPT, correctness is not guaranteed. You might also be able to find a solution fromcommunity posts.
AI solution for JavaScript Quiz on BFE.dev
100. `var` vs `let`
The code below outputs undefined
and undefined
since a
and b
are not defined as properties of the global object (this
).