所以我在 javascript 中有一个字符串
var s="may the force";
我只想要力
部分,
在 python 中我可以做 s[4:]
,所以有
javascript 中有任何等价物吗?
最佳答案
关于python a[1 :] 的 javascript 简写,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15926979/
所以我在 javascript 中有一个字符串
var s="may the force";
我只想要力
部分,
在 python 中我可以做 s[4:]
,所以有
javascript 中有任何等价物吗?
最佳答案
关于python a[1 :] 的 javascript 简写,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15926979/