The Bracket Method
var chapters = ["A Runaway Reef", "The Pros and Cons", "As Master Wishes",
"Ned Land", "At Random!", "At Full Steam",
"A Whale of Unknown Species", "Mobilis in Mobili",
"The Tantrums of Ned Land"
];
var myFavoriteBook = { title: "Twenty Thousand Leagues Under the Sea",
author: "Jules Verne",
publisher: "Pierre-Jules Hetzel",
illustrator: "Alphonse de Neuville",
country: "France",
publicationDate: 1970,
"# of chapters": 0,
chapter1: {
};
function addBook ( book chapter title ){
chapter
}Last updated