flushBody() {
    while (document.body.firstChild) {
        document.body.removeChild(document.body.firstChild);
    }
  }
/**
   * Remove all the content of document.body
   */
Remove all the content of document.body
Remove all the content of document . body
flushBody() {
    while (document.body.firstChild) {
        document.body.removeChild(document.body.firstChild);
    }
  }
flushBody ( ) { while ( document . body . firstChild ) { document . body . removeChild ( document . body . firstChild ) ; } }
Remove all the content of document.body
Remove all the content of document . body