diff --git a/locale/zh-cn/docs/guides/dont-block-the-event-loop.md b/locale/zh-cn/docs/guides/dont-block-the-event-loop.md index 601cc594c1d86..6416eb443ec95 100644 --- a/locale/zh-cn/docs/guides/dont-block-the-event-loop.md +++ b/locale/zh-cn/docs/guides/dont-block-the-event-loop.md @@ -264,17 +264,17 @@ for (var i = 0; i < len; i++) { before = process.hrtime(); res = JSON.stringify(obj); -took = process.hrtime(n); +took = process.hrtime(before); console.log('JSON.stringify took ' + took); before = process.hrtime(); res = str.indexOf('nomatch'); -took = process.hrtime(n); +took = process.hrtime(before); console.log('Pure indexof took ' + took); before = process.hrtime(); res = JSON.parse(str); -took = process.hrtime(n); +took = process.hrtime(before); console.log('JSON.parse took ' + took); ```