_confirmDiscardMessage() {
    if (!this.dirtyForms.length) return null;
    const dirtyFormsMessage =
      'Discard your changes in the following forms?\n' +
      arrayToEnglish(this.dirtyForms);
    return dirtyFormsMessage;
  }
/**
   * Constructs a message to warn users about dirty forms when they navigate
   * away from a page, to prevent them from loasing data.
   * @return {string} Message shown to users to warn about in flight form
   *   changes.
   */
Constructs a message to warn users about dirty forms when they navigate
away from a page, to prevent them from loasing data.
@return {string} Message shown to users to warn about in flight form
changes.
Constructs a message to warn users about dirty forms when they navigate away from a page to prevent them from loasing data . @return { string } Message shown to users to warn about in flight form changes .
_confirmDiscardMessage() {
    if (!this.dirtyForms.length) return null;
    const dirtyFormsMessage =
      'Discard your changes in the following forms?\n' +
      arrayToEnglish(this.dirtyForms);
    return dirtyFormsMessage;
  }
_confirmDiscardMessage ( ) { if ( ! this . dirtyForms . length ) return null ; const dirtyFormsMessage = 'Discard your changes in the following forms?\n' + arrayToEnglish ( this . dirtyForms ) ; return dirtyFormsMessage ; }
Constructs a message to warn users about dirty forms when they navigate
 away from a page, to prevent them from loasing data.
Constructs a message to warn users about dirty forms when they navigate away from a page to prevent them from loasing data .