Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix keyword in note of lesson 11 chapter 6 #705

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion en/11/06.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Then, `Truffle` will take care of everything. That's pretty sweet, isn't it?

1. Below the line of code that initializes `alice` and `bob`, let's declare a variable named `contractInstance`. Don't assign it to anything.

>Note: We want `contractInstance` to be limited in scope to the block in which it's defined. Use `let` instead of `var`.
>Note: We want `contractInstance` to be limited in scope to the block in which it's defined. Use `let` instead of `const`.

2. Next, copy/paste the snippet from above for defining the `beforeEach()` function.

Expand Down
2 changes: 1 addition & 1 deletion fa/11/06.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ Then, `Truffle` will take care of everything. That's pretty sweet, isn't it?

1. Below the line of code that initializes `alice` and `bob`, let's declare a variable named `contractInstance`. Don't assign it to anything.

>Note: We want `contractInstance` to be limited in scope to the block in which it's defined. Use `let` instead of `var`.
>Note: We want `contractInstance` to be limited in scope to the block in which it's defined. Use `let` instead of `const`.

2. Next, copy/paste the snippet from above for defining the `beforeEach()` function.

Expand Down
2 changes: 1 addition & 1 deletion zh/11/06.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ beforeEach(async () => {

1. 在初始化 `alice` 和 `bob` 的代码行下面,让我们来声明一个名为 `contractInstance` 的变量。不要把它分配给任何东西。

>注意:我们想要 `contractInstance` 的作用域仅限于定义它的块。使用 `let` 代替 `var`。
>注意:我们想要 `contractInstance` 的作用域仅限于定义它的块。使用 `let` 代替 `const`。

2. 接下来,复制/粘贴上面的代码片段,以定义 `beforeEach()` 函数。

Expand Down