From b2cbfaae880b324812b00561c2b5196793aaf351 Mon Sep 17 00:00:00 2001 From: Dilip Valiya <51109117+Dilip-Valiya@users.noreply.github.com> Date: Tue, 20 Feb 2024 23:39:48 +0530 Subject: [PATCH] Update ch2.md --- get-started/ch2.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/get-started/ch2.md b/get-started/ch2.md index 434710d12..2cf1bb696 100644 --- a/get-started/ch2.md +++ b/get-started/ch2.md @@ -607,7 +607,7 @@ class Book extends Publication { super( bookDetails.title, bookDetails.author, - bookDetails.publishedOn + bookDetails.pubDate ); this.publisher = bookDetails.publisher; this.ISBN = bookDetails.ISBN; @@ -643,7 +643,7 @@ Now consider using these child classes: var YDKJS = new Book({ title: "You Don't Know JS", author: "Kyle Simpson", - publishedOn: "June 2014", + pubDate: "June 2014", publisher: "O'Reilly", ISBN: "123456-789" });