Skip to content

Commit d27e96c

Browse files
authored
Update article.md
Says "is the same object as:", but what's below is an assignment (that includes an object). I didn't have any problem understanding it, didn't even notice it at first, but I thought it would be more accurate this way without sacrificing clarity.
1 parent c4d1987 commit d27e96c

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ function User(name) {
5151
}
5252
```
5353

54-
So the result of `new User("Jack")` is the same object as:
54+
So `let user = new User("Jack")` gives the same result as:
5555

5656
```js
5757
let user = {

0 commit comments

Comments
 (0)