From 882860f6a345f3c3a7c2d82177a697beeef05ea9 Mon Sep 17 00:00:00 2001 From: Sergey Zhigunov Date: Fri, 20 Dec 2019 00:08:41 +0200 Subject: [PATCH 1/3] fix: remove misleading note section Fixes: https://github.com/nodejs/node/issues/30801 --- locale/en/docs/guides/event-loop-timers-and-nexttick.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/locale/en/docs/guides/event-loop-timers-and-nexttick.md b/locale/en/docs/guides/event-loop-timers-and-nexttick.md index 921aaae6cd54d..3ef636ac29185 100644 --- a/locale/en/docs/guides/event-loop-timers-and-nexttick.md +++ b/locale/en/docs/guides/event-loop-timers-and-nexttick.md @@ -412,9 +412,7 @@ added, which means every day we wait, more potential breakages occur. While they are confusing, the names themselves won't change. *We recommend developers use `setImmediate()` in all cases because it's -easier to reason about (and it leads to code that's compatible with a -wider variety of environments, like browser JS.)* - +easier to reason about.* ## Why use `process.nextTick()`? There are two main reasons: From a14b26fd4c2fb8629efdc2393be7b3770f5769bb Mon Sep 17 00:00:00 2001 From: Sergey Zhigunov Date: Fri, 20 Dec 2019 00:09:20 +0200 Subject: [PATCH 2/3] fix: remove misleading note section (ko, zh-cn) --- locale/ko/docs/guides/event-loop-timers-and-nexttick.md | 2 +- locale/zh-cn/docs/guides/event-loop-timers-and-nexttick.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/locale/ko/docs/guides/event-loop-timers-and-nexttick.md b/locale/ko/docs/guides/event-loop-timers-and-nexttick.md index 9dd32c7f3eb63..cecb9f9e8fe4b 100644 --- a/locale/ko/docs/guides/event-loop-timers-and-nexttick.md +++ b/locale/ko/docs/guides/event-loop-timers-and-nexttick.md @@ -803,7 +803,7 @@ wider variety of environments, like browser JS.)* 이 둘은 혼란스럽지만 이름이 바뀌진 않을 것입니다. *`setImmediate()`가 예상하기 더 쉬우므로 모든 경우에 `setImmediate()`를 사용하기를 -권장합니다.(이 방법이 브라우저 자바스크립트 등 더 넓은 범위의 환경과 호환될 것입니다.)* +권장합니다.*