Skip to content

Commit 25bf9f5

Browse files
authored
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...
1 parent c4d1987 commit 25bf9f5

File tree

1 file changed

+1
-1
lines changed
  • 1-js/04-object-basics/06-constructor-new

1 file changed

+1
-1
lines changed

1-js/04-object-basics/06-constructor-new/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ alert(user.name); // Jack
2727
alert(user.isAdmin); // false
2828
```
2929

30-
When a function is executed as `new User(...)`, it does the following steps:
30+
When a function is executed as `new Func(...)`, it does the following:
3131

3232
1. A new empty object is created and assigned to `this`.
3333
2. The function body executes. Usually it modifies `this`, adds new properties to it.

0 commit comments

Comments
 (0)