initial commit

main
Jason 2 years ago
parent 1f80e8b35f
commit 3832eef4b8

@ -75,6 +75,18 @@ class StoryList {
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