Skip to content

Commit b62fc83

Browse files
committed
typo
1 parent 83a7e32 commit b62fc83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/en/function/constructors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ specified by that statement, but **only** if the return value is an `Object`.
3939
name: 'Charles'
4040
};
4141
}
42-
new Test(); // the returned object ({name:'Charles'}), not including someValue
42+
new Person(); // the returned object ({name:'Charles'}), not including someValue
4343

4444
When the `new` keyword is omitted, the function will **not** return a new object.
4545

0 commit comments

Comments
 (0)