1.要求:把 [ ' 122 , 33 ' ] ,里面的122和33使用split()切分成数组,分别取出来(使用split() 方法)
2.语法:str.split(',');
const arry0 = '122,33' const arry1 = arry0.split(',') const arry2 = arry1[0] const arry3 = arry1[1] console.log(arry1,arry2,arry3) //打印:['122','33'] '122' '33'