如果在Python中,我可以这样做:
可能有重复:
可能从数组中分配给多个变量吗?
如果在Python中,我可以这样做:
x = "Hi there and hello there"
v1, v2, v3, v4, v5 = x.split(" ")
但我不确定如何在JavaScript中实现它。