Skip to content

P2P CR - Friday, April 22, 2022 #29

@memelopez

Description

@memelopez

Good Job! 👍 💯

I see you implemented a method to make a JSON out of the comment info, that's seems really handy!

toJSON() {
return JSON.stringify({
item_id: this.item_id,
username: this.username,
comment: this.comment,
});

Nice job formating the date!

if (month.length > 1) {
newMonth = month;
} else {
newMonth = `0${month}`;

Have a good week end! 🆒

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions