// 1. create a new constructor function, Book, which logs books in the school library (id, title, author, themes[]), // 2. Add ids, titles and authors for your two favourite books. // 3. Use the prototype keyword to add a theme property to the books. // 4. Add at least one theme to each of your books.
// Beginning:
function Book() { // your code here }
5
6
7
8
9
10
11
1
2
3
4
// Beginning:
function Book() {
// your code here
}
// 1. create a new constructor function, Book, which logs books in the school library (id, title,
author, themes[]),
// 2. Add ids, titles and authors for your two favourite books.
// 3. Use the prototype keyword to add a theme property to the books.
// 4. Add at least one theme to each of your books.