Questions Why does accessing 'window.variable' return 'undefined' when using 'let' but not with 'var'? byMRMarch 7, 2024