Skip to content

Commit

Permalink
Objects and Constructors: Clarify project reference (#28893)
Browse files Browse the repository at this point in the history
  • Loading branch information
sarthakvermaa authored Oct 2, 2024
1 parent 61e55b9 commit f9dd2b0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ player2.sayName(); // logs 'also steve'

### Exercise

Write a constructor for making "Book" objects. We will revisit this in the project at the end of this lesson. Your book objects should have the book's `title`, `author`, the number of `pages`, and whether or not you have `read` the book.
Write a constructor for making "Book" objects. We will revisit this in the next project. Your book objects should have the book's `title`, `author`, the number of `pages`, and whether or not you have `read` the book.

Put a function into the constructor that can report the book info like so:

Expand Down

0 comments on commit f9dd2b0

Please sign in to comment.