Create a JavaScript constructor function called Book that represents a library book. Add prototype methods to manage book details and actions. Add a method to the Book prototype called getSummary.