akf-forum/classes/react.js
2022-03-13 16:16:46 +03:00

8 lines
No EOL
179 B
JavaScript

const User = require("./user")
module.exports = class Message {
constructor(like = true, author = new User()) {
this.like = like;
this.author= author;
}
}