Skip to content

Commit 03e4dc1

Browse files
authored
prototypes (inheritance)
1 parent 9314529 commit 03e4dc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/javascript.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,7 @@ john.legs
771771
//// using es6
772772

773773
class geo {
774-
constructor(lan.lon) {
774+
constructor(lan,lon) {
775775
this.lan = 11.1331;
776776
this.lon = 213.242;
777777
}

0 commit comments

Comments
 (0)