📜  javascript 数据类型 - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:02:40.384000             🧑  作者: Mango

代码示例4
let age = 16;                           // number 
let name = "John";                      // string
let name = {first:"Jane", last:"Duo"};  // object
let truth = false;                      // boolean
let sheets = ["HTML","CSS","JS"];       // array
let a; typeof a;                        // undefined
let a = null;                           // null