diff --git a/en/application-dev/reference/apis/js-apis-util.md b/en/application-dev/reference/apis/js-apis-util.md
index afa1c20bcd4eace98512772fb3cd7160d23a5b92..d1ffe6f45c4a792bdfda7ad81743a3fe1b8aac51 100755
--- a/en/application-dev/reference/apis/js-apis-util.md
+++ b/en/application-dev/reference/apis/js-apis-util.md
@@ -123,17 +123,6 @@ Processes an asynchronous function and returns a promise version.
| -------- | -------- |
| Function | Function in the error-first style (that is, **(err, value) =>...** is called as the last parameter) and the promise version.|
-**Example**
- ```js
- function aysnFun() {
- return 0;
- }
- let newPromiseObj = util.promiseWrapper(aysnFun);
- newPromiseObj().then(res => {
- console.log(res);
- })
- ```
-
## util.promisify9+
promisify(original: (err: Object, value: Object) => void): Function
diff --git a/zh-cn/application-dev/reference/apis/js-apis-util.md b/zh-cn/application-dev/reference/apis/js-apis-util.md
index 43a404fa37cab1154b10ec4299143f096711addb..edf6d8c5027c74f17960bb427de9d38a08d61422 100755
--- a/zh-cn/application-dev/reference/apis/js-apis-util.md
+++ b/zh-cn/application-dev/reference/apis/js-apis-util.md
@@ -120,17 +120,6 @@ promiseWrapper(original: (err: Object, value: Object) => void): Object
| -------- | -------- |
| Function | 采用遵循常见的错误优先的回调风格的函数(也就是将 (err, value) => ... 回调作为最后一个参数),并返回一个返回 promise 的版本。 |
-**示例:**
- ```js
- function aysnFun() {
- return 0;
- }
- let newPromiseObj = util.promiseWrapper(aysnFun);
- newPromiseObj().then(res => {
- console.log(res);
- })
- ```
-
## util.promisify9+
promisify(original: (err: Object, value: Object) => void): Function
@@ -211,7 +200,7 @@ randomBinaryUUID(entropyCache?: boolean): Uint8Array
**示例:**
```js
let uuid = util.randomBinaryUUID(true);
- console.log(uuid);
+ console.log(JSON.stringify(uuid));
// 输出:
// 138,188,43,243,62,254,70,119,130,20,235,222,199,164,140,150
```
@@ -237,7 +226,7 @@ parseUUID(uuid: string): Uint8Array
**示例:**
```js
let uuid = util.parseUUID("84bdf796-66cc-4655-9b89-d6218d100f9c");
- console.log(uuid);
+ console.log(JSON.stringify(uuid));
// 输出:
// 132,189,247,150,102,204,70,85,155,137,214,33,141,16,15,156
```
@@ -2764,5 +2753,5 @@ isSharedArrayBuffer(value: Object): boolean
**示例:**
```js
var that = new util.types();
- var result = that.isSharedArrayBuffer(new SharedArrayBuffer([]));
+ var result = that.isSharedArrayBuffer(new SharedArrayBuffer(0));
```
\ No newline at end of file