Skip to content

Commit 7e08b21

Browse files
Dilip-Valiyagetify
authored andcommitted
Update ch2.md
1 parent 50ce656 commit 7e08b21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

get-started/ch2.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ class Book extends Publication {
607607
super(
608608
bookDetails.title,
609609
bookDetails.author,
610-
bookDetails.publishedOn
610+
bookDetails.pubDate
611611
);
612612
this.publisher = bookDetails.publisher;
613613
this.ISBN = bookDetails.ISBN;
@@ -643,7 +643,7 @@ Now consider using these child classes:
643643
var YDKJS = new Book({
644644
title: "You Don't Know JS",
645645
author: "Kyle Simpson",
646-
publishedOn: "June 2014",
646+
pubDate: "June 2014",
647647
publisher: "O'Reilly",
648648
ISBN: "123456-789"
649649
});

0 commit comments

Comments
 (0)