Commit 26379811 authored by JingChao's avatar JingChao

Updates angular/hlsUtil.md

Auto commit by GitBook Editor
parent 7ff96ecc
...@@ -33,4 +33,17 @@ function arrayRemove() { ...@@ -33,4 +33,17 @@ function arrayRemove() {
alert(angular.toJson(array.remove(1))); alert(angular.toJson(array.remove(1)));
} }
``` ```
##### 4.对象转成数组
- 函数参数为对象
- 返回字符串
- 调用实例如下
```javascript
function objToString(){
var obj={
"apiKey":'123123SFgy',
"apiSecret":'QEZ!$XHFHFTV'
}
hlsUtil.objToString(obj);
}
```
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