未验证 提交 3baf6973 编写于 作者: D duangavin123 提交者: Gitee

update zh-cn/application-dev/reference/apis/js-apis-util.md.

Signed-off-by: Nduangavin123 <duanxichao@huawei.com>
上级 d964aa8b
......@@ -116,7 +116,7 @@ promiseWrapper(original: (err: Object, value: Object) =&gt; void): Object
- 示例:
```
function aysnFun(str1, str2, callback) {
if (typeof str1 === 'string' && typeof str1 === 'string') {
if (typeof str1 === 'string' && typeof str2 === 'string') {
callback(null, str1 + str2);
} else {
callback('type err');
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册