https://youtu.be/M5BYcF3IGNM?si=h6lqaLSLXS2nSgtF class Book { constructor(isbn, title, author, publishedDate) { this.isbn = isbn; this.title = title; this.author = author; this.publishedDate = publishedDate; } static booksEqual(book, book2) { if (book instanceof Book…