akf-forum/classes/react.js

8 lines
179 B
JavaScript
Raw Normal View History

2022-03-13 16:16:46 +03:00
const User = require("./user")
module.exports = class Message {
constructor(like = true, author = new User()) {
this.like = like;
this.author= author;
}
2022-03-13 16:06:25 +03:00
}