<分区> 分区>
Possible Duplicate:
Possible to assign to multiple variables from an array?
如果在 python 中我可以做到这一点
x = "Hi there and hello there"
v1, v2, v3, v4, v5 = x.split(" ")
但我不确定如何在 javascript 中做到这一点..
<分区> 分区>
Possible Duplicate:
Possible to assign to multiple variables from an array?
如果在 python 中我可以做到这一点
x = "Hi there and hello there"
v1, v2, v3, v4, v5 = x.split(" ")
但我不确定如何在 javascript 中做到这一点..