Created
March 21, 2021 02:30
-
-
Save Uzwername/25051a59316b33ea013af8b51207949f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const comments = [ | |
{ | |
text: 'comment 1', | |
comments: [ | |
{ | |
text: 'comment 2', | |
comments: [], | |
}, | |
], | |
}, | |
{ | |
text: 'comment 3', | |
comments: [ | |
{ | |
text: 'comment 4', | |
comments: [], | |
}, | |
{ | |
text: 'comment 5', | |
comments: [{ | |
text: 'comment 6', | |
comments: [{ | |
text: 'comment 7', | |
comments: [ | |
{ | |
text: 'comment 8', | |
comments: [], | |
}, | |
{ | |
text: 'comment 9', | |
comments: [], | |
} | |
], | |
}], | |
}] | |
}, | |
{ | |
text: 'comment 10', | |
comments: [], | |
}, | |
], | |
}, | |
]; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment