generateName () {
    var first = this.randomWithBounds(0, this.cityNames.length)
    var second = this.randomWithBounds(0, this.cityNames.length)

    if (second === first) {
      second++
      if (second === this.cityNames.length) {
        second = 0
      }
    }

    var name = this.getStart(first) + this.getEnd(second, first)

    return name
  }
/**
  * Generates the name from two randomly chosen names from the list
  *
  * @returns {String} - newly generated name
  */
Generates the name from two randomly chosen names from the list
@returns {String} - newly generated name
Generates the name from two randomly chosen names from the list @returns { String } - newly generated name
generateName () {
    var first = this.randomWithBounds(0, this.cityNames.length)
    var second = this.randomWithBounds(0, this.cityNames.length)
    if (second === first) {
      second++
      if (second === this.cityNames.length) {
        second = 0
      }
    }
    var name = this.getStart(first) + this.getEnd(second, first)
    return name
  }
generateName ( ) { var first = this . randomWithBounds ( 0 , this . cityNames . length ) var second = this . randomWithBounds ( 0 , this . cityNames . length ) if ( second === first ) { second ++ if ( second === this . cityNames . length ) { second = 0 } } var name = this . getStart ( first ) + this . getEnd ( second , first ) return name }
Generates the name from two randomly chosen names from the list
 @returns {String} - newly generated name
Generates the name from two randomly chosen names from the list @returns { String } - newly generated name