1.1 1在js中如何去声明一个变量js中的基础数据类型number string boolean true是 false否console.log(typeof "hellow")//数组 var arr =[1,2,3]var train =[[1,2,3],[1,2,3]] console.log(arr[0]) console.log(train[0][1])