function clearBody() {
  let commentFull = document.querySelectorAll('.comment-full');
  for (const commentContent of commentFull) {
    commentContent.parentNode.removeChild(commentContent);
  }
}
/**
 * Clear body of the comments div, removing all prior comments.
 */
Clear body of the comments div, removing all prior comments.
Clear body of the comments div removing all prior comments .
function clearBody() {
  let commentFull = document.querySelectorAll('.comment-full');
  for (const commentContent of commentFull) {
    commentContent.parentNode.removeChild(commentContent);
  }
}
function clearBody ( ) { let commentFull = document . querySelectorAll ( '.comment-full' ) ; for ( const commentContent of commentFull ) { commentContent . parentNode . removeChild ( commentContent ) ; } }
Clear body of the comments div, removing all prior comments.
Clear body of the comments div removing all prior comments .