(
title,
author,
ISBN,
pubYear,
pageNumber,
currentPage,
readStatus
)
| 1 | class Book { |
| 2 | constructor( |
| 3 | title, |
| 4 | author, |
| 5 | ISBN, |
| 6 | pubYear, |
| 7 | pageNumber, |
| 8 | currentPage, |
| 9 | readStatus |
| 10 | ) { |
| 11 | this.title = title; |
| 12 | this.author = author; |
| 13 | this.ISBN = ISBN; |
| 14 | this.pubYear = pubYear; |
| 15 | this.pageNumber = pageNumber; |
| 16 | this.currentPage = currentPage; |
| 17 | this.readStatus = readStatus; |
| 18 | } |
| 19 | updateCurrentPage(newCurrentPage) { |
| 20 | this.currentPage = newCurrentPage; |
| 21 | } |
nothing calls this directly
no outgoing calls
no test coverage detected