# JavaScript Engine ###### tags: `待補充` `JavaScript` ### ### Hoisting > Hoisting is JavaScript's default behavior of moving declarations to the top. 在執行任何程式碼前,JavaScript 會把函式宣告放進記憶體裡面,這樣做的優點是:可以在程式碼宣告該函式之前使用它。 ### function Statement(Declaration) 函式述句(宣告) ### function expression 函式運算式 > 指的是輸入後能夠直接回傳值的一串程式(a unit of code that results in a value) ### prototype chain ### Closure