使用js将http://tmp/tJvWHIC2wiCH4714d76b408a1adae215f70e178b2823.jpg以//分割/
时间: 2023-09-01 19:13:17 浏览: 106
可以使用以下代码将该URL以 // 分割:
```javascript
const url = "http://tmp/tJvWHIC2wiCH4714d76b408a1adae215f70e178b2823.jpg";
const splitUrl = url.split("//");
console.log(splitUrl);
```
输出结果为:
```
["http:", "tmp/tJvWHIC2wiCH4714d76b408a1adae215f70e178b2823.jpg"]
```
阅读全文