js怎么把數(shù)組里的一項(xiàng)轉(zhuǎn)為字典項(xiàng)?
var str[] var stra="teacher,student,name,age,wangming,liming,xiaohong" str=stra.split(",")
js怎么把數(shù)組里的一項(xiàng)轉(zhuǎn)為字典項(xiàng)?
var str[] var stra="teacher,student,name,age,wangming,liming,xiaohong" str=stra.split(",")