You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
246 B
JavaScript

class Comment {
constructor(start, end, tittle, text) {
this.start = start;
this.end = end;
this.tittle = tittle;
this.text = [];
for (let i = 0; i < text.length; i++) {
this.text.push(text[i].innerHTML);
}
}
}