initial commit

main
Jason 3 years ago
parent 1f80e8b35f
commit 3832eef4b8

@ -73,8 +73,20 @@ class StoryList {
* Returns the new Story instance
*/
async addStory( /* user, newStory */) {
async addStory(/*user, newStory*/) {
// UNIMPLEMENTED: complete this function!
/*
user = ("theCat");
console.log(user);
let newStory = {title: "house", author: "humannn", url:"www.google.com"};
console.log(newStory);
*/
/*
let newStory = await storyList.addStory(currentUser,
{title: "Test", author: "Me", url: "http://meow.com"});
*/
}
}

Loading…
Cancel
Save