Lim Woojaejaylog.hashnode.dev·May 19, 2023[JavaScript] Understanding Hoisting - Common Interview QuestionIntroduction Let's have a look at this code: console.log(a); // Reference Error and TDZ let a = 10; Reference error occurs because variable a is referenced before the declaration. Then, you might ask to put the declaration above the console.log() li...109 readsJavaScriptJavaScriptAdd a thoughtful commentNo comments yetBe the first to start the conversation.