+ 3

PLEASE HELP WITH A SHORT CODE! I missing something and can't find :c JS

My code should calculate how much time passed since student(patron) took a book. Can't calculate it from date he pick it up to current date. See code here: https://code.sololearn.com/WT2kQ2Rx1Uon/#js Here is what it should do: Write a loop that simulates checkouts and checkins for a 3 month period. Every day iterate over the catalog, and every person in the patrons array. If the patron currently has the book checked out then check it in. If it is not checked out then add it to the patrons list of books via the patrons read method. If the book is overdue then add a fine of $5.00 to the patron returning it. At the end of the 3 month period, display each patron, the books they have currently checked out and any fine they may have. If you use Chrome, press Ctrl + Shift + i to open console and test it. Thanks!

6th Jul 2017, 8:54 PM
DIY Mods
DIY Mods - avatar
4 Réponses
+ 2
Not to be that guy, but do you mind putting your code into the Code Playground and posting us a link instead? Thanks. <3
6th Jul 2017, 7:16 PM
AgentSmith
+ 1
I'm still laughing at the name "Betty Wet" :'D
6th Jul 2017, 7:46 PM
Shannon
Shannon - avatar
0
lol) It's need to be changed
6th Jul 2017, 7:48 PM
DIY Mods
DIY Mods - avatar
0
Anybody?
6th Jul 2017, 8:30 PM
DIY Mods
DIY Mods - avatar