初始化

动态类型

//由任意类型初始化
let d = "some string";
d = 3.14;
d = [2, 3, 5];
d = new Date();

console.log(`d is "${d}"`);