Skip to content

Commit 39da84b

Browse files
authored
Merge pull request lydiahallie#696 from stuymedova/patch-4
Question 90
2 parents 2b0f686 + ea5cf2f commit 39da84b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2861,7 +2861,7 @@ console.log(typeof member);
28612861
Classes are syntactical sugar for function constructors. The equivalent of the `Person` class as a function constructor would be:
28622862

28632863
```javascript
2864-
function Person() {
2864+
function Person(name) {
28652865
this.name = name;
28662866
}
28672867
```

0 commit comments

Comments
 (0)