code: function clear() {
      /* clear browser console */
      if (shouldLogToConsole && console && console.clear) {
        console.clear();
      }
      /* clear app console */
      if (shouldLogToElement) {
        element.value = '';
        element.scrollTop = element.scrollHeight;
      }
    }
docs: /* ======= /* Methods /* =======