Skip to content

Commit 8a3a08b

Browse files
naveenprasad07getify
authored andcommitted
Typo Corrected
1 parent e96cc1a commit 8a3a08b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

objects-classes/ch3.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -566,7 +566,7 @@ class Point2d {
566566
// ..
567567

568568
constructor(x,y) {
569-
if (new.target === Point2) {
569+
if (new.target === Point2d) {
570570
console.log("Constructing 'Point2d' instance");
571571
}
572572
}

0 commit comments

Comments
 (0)