A JavaScript behavior where variable and function declarations are moved to the top of their containing scope during compilation. This allows variables and functions to be used before they are declared in the code.
From Middle Dutch 'hijsen' meaning to lift or raise up. The term was adopted in JavaScript to describe how declarations are conceptually 'lifted' to the top of their scope during the compilation phase.
Try Another Word