Skip to content

Commit

Permalink
docs: Fix varible typos (#1887)
Browse files Browse the repository at this point in the history
Ref: #1885.
  • Loading branch information
Maledong authored Nov 4, 2018
1 parent 090425e commit e27e454
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion locale/fa/docs/guides/dont-block-the-event-loop.md
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ var niter = 20;

var before, res, took;

for (var i = 0; i < len; i++) {
for (var i = 0; i < niter; i++) {
obj = { obj1: obj, obj2: obj }; // Doubles in size each iter
}

Expand Down
2 changes: 1 addition & 1 deletion locale/zh-cn/docs/guides/dont-block-the-event-loop.md
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ var niter = 20;

var before, res, took;

for (var i = 0; i < len; i++) {
for (var i = 0; i < niter; i++) {
obj = { obj1: obj, obj2: obj }; // 每个循环里面将对象 size 加倍
}

Expand Down

0 comments on commit e27e454

Please sign in to comment.