- ';
+ } else {
+ return '
- ${renderPostItem(comment.comment)}${childrenComments(comment)} `; + }); + + html += '
- ${renderPostItem(comment.comment)}${childrenComments(s)} `; - }) + return `
- ${renderPostItem(comment.comment)}${childrenComments(comment)}
- ';
+ }
+ })();
+
+ html += children.map((comment) => {
+ comment = processData(comment);
+ comment.nesting = nesting + 1;
+ return `