🔰initial value
🚧 施工中
variable declaration can assign a value to a variable.
const must be declared with an initial value❗
var hoisting - declaration hoisted, value initialized to "undefined".
let/const/class hoisting - declaration hoisted, value "uninitialized"❗️
const requires initialization - must have with initial value❗️
function hoisting - declaration hoisted, value initialized to a function.
Last updated