-
Couldn't load subscription status.
- Fork 0
Open
Description
Good Job! 👍 💯
I see you implemented a method to make a JSON out of the comment info, that's seems really handy!
API-based-webapp/src/modules/comment.js
Lines 9 to 14 in 359ba64
| toJSON() { | |
| return JSON.stringify({ | |
| item_id: this.item_id, | |
| username: this.username, | |
| comment: this.comment, | |
| }); |
Nice job formating the date!
API-based-webapp/src/modules/date.js
Lines 7 to 10 in 359ba64
| if (month.length > 1) { | |
| newMonth = month; | |
| } else { | |
| newMonth = `0${month}`; |
Have a good week end! 🆒
Metadata
Metadata
Assignees
Labels
No labels
