提交 a128f593 编写于 作者: W wangyaqi

update: 补充wxs部分支付宝sjs文件

上级 1a9508aa
......@@ -1012,7 +1012,23 @@ WXS是微信小程序的一套脚本语言,[详见](https://developers.weixin.
}
</style>
```
index.sjs内容
```
export default {
msg:'Hello',
getMax: function(array){
var max = undefined;
for (var i = 0; i < array.length; ++i) {
max = max === undefined ?
array[i] :
(max >= array[i] ? max : array[i]);
}
return max;
}
};
```
**注意**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册