Update article.md
1. Since is general statement, thought might be better to use general function name. 2. "Do the following steps" is a bit awkward, in that usually one doesn't "do" steps (but rather "takes", or "follows", or "executes" steps, perhaps). But it does convey the meaning, and perhaps it's a relatively new usage in business or tech that I'm not familiar with. For me, it comes off a bit awkward. Leaving out "steps" works grammatically and preserves the sense. Or could find another verb to replace "do" -- but nothing perfect came to mind. Not that bad the way it is, but since I was already changing the sentence...
This commit is contained in:
parent
c4d1987ebc
commit
25bf9f5afe
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ alert(user.name); // Jack
|
|||
alert(user.isAdmin); // false
|
||||
```
|
||||
|
||||
When a function is executed as `new User(...)`, it does the following steps:
|
||||
When a function is executed as `new Func(...)`, it does the following:
|
||||
|
||||
1. A new empty object is created and assigned to `this`.
|
||||
2. The function body executes. Usually it modifies `this`, adds new properties to it.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue