Commit 7ff96ecc authored by JingChao's avatar JingChao

Updates angular/hlsUtil.md

Auto commit by GitBook Editor
parent 8d57c458
......@@ -24,4 +24,13 @@ function dataFormat() {
}
```
##### 3.数组移除函数 `Array.prototype.remove`
- 函数参数为数组下标
- 返回新的数组
- 调用实例如下
```javascript
function arrayRemove() {
var array=['1','2','3'];
alert(angular.toJson(array.remove(1)));
}
```
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment