Skip to content

Commit

Permalink
fix: remove misleading note section (ko, zh-cn)
Browse files Browse the repository at this point in the history
  • Loading branch information
szhigunov committed Dec 19, 2019
1 parent 882860f commit a14b26f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion locale/ko/docs/guides/event-loop-timers-and-nexttick.md
Original file line number Diff line number Diff line change
Expand Up @@ -803,7 +803,7 @@ wider variety of environments, like browser JS.)*
이 둘은 혼란스럽지만 이름이 바뀌진 않을 것입니다.

*`setImmediate()`가 예상하기 더 쉬우므로 모든 경우에 `setImmediate()`를 사용하기를
권장합니다.(이 방법이 브라우저 자바스크립트 등 더 넓은 범위의 환경과 호환될 것입니다.)*
권장합니다.*

<!--
## Why use `process.nextTick()`?
Expand Down
2 changes: 1 addition & 1 deletion locale/zh-cn/docs/guides/event-loop-timers-and-nexttick.md
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ server.on('listening', () => {});

实质上,这两个名称应该交换,因为 `process.nextTick()``setImmediate()` 触发得更快,但这是过去遗留问题,因此不太可能改变。如果贸然进行名称交换,将破坏 npm 上的大部分软件包。每天都有更多新的模块在增加,这意味着我们要多等待每一天,则更多潜在破坏会发生。尽管这些名称使人感到困惑,但它们本身名字不会改变。

*我们建议开发人员在所有情况下都使用 `setImmediate()`,因为它更容易理解( 而且它可以让代码与各种环境兼容,比如浏览器 JS )*
*我们建议开发人员在所有情况下都使用 `setImmediate()`,因为它更容易理解*

## 为什么要使用 `process.nextTick()`?

Expand Down

0 comments on commit a14b26f

Please sign in to comment.