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.
This commit is contained in:
parent
c4d1987ebc
commit
d27e96cec3
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ function User(name) {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
So the result of `new User("Jack")` is the same object as:
|
So `let user = new User("Jack")` gives the same result as:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
let user = {
|
let user = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue