Commit db98d708 authored by JingChao's avatar JingChao

Updates angular/hlsUtil.md

Auto commit by GitBook Editor
parent 960cdbde
......@@ -23,6 +23,7 @@ function dataFormat() {
alert(date.format('yyyy-MM-dd'));
}
```
##### 3.数组移除函数 `Array.prototype.remove`
- 函数参数为数组下标
- 返回新的数组
......@@ -33,6 +34,7 @@ function arrayRemove() {
alert(angular.toJson(array.remove(1)));
}
```
##### 4.对象转成数组 `objToString`
- 函数参数为对象
- 返回字符串
......
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