var存在變量提升,而let沒有. ``` console.log(window.name) //undefined console.log(window.age) // SyntaxError. var name = 'tom' let age = 12.
確定! 回上一頁