Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const book={
- title:"Harry Potter i Komnata Tajemnic",
- author:"J.K. Rowling",
- pageCount:720,
- publisher:"Warner Bros",
- showDetails(){
- for(const key in book)
- {document.write(book[key]);}
- }
- };
- book.showDetails();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement