akf-forum/classes/react.js

8 lines
186 B
JavaScript
Raw Normal View History

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