fetchNeighborhoods() {
    DBHelper.fetchNeighborhoods((error, neighborhoods) => {
      if (error) { // Got an error
        console.error(error);
      } else {
        this.neighborhoods = neighborhoods;
        this.fillNeighborhoodsHTML();
      }
    });
  }
/**
   * Fetch all neighborhoods and set their HTML.
   */
Fetch all neighborhoods and set their HTML.
Fetch all neighborhoods and set their HTML .
fetchNeighborhoods() {
    DBHelper.fetchNeighborhoods((error, neighborhoods) => {
      if (error) { 
        console.error(error);
      } else {
        this.neighborhoods = neighborhoods;
        this.fillNeighborhoodsHTML();
      }
    });
  }
fetchNeighborhoods ( ) { DBHelper . fetchNeighborhoods ( ( error , neighborhoods ) => { if ( error ) { console . error ( error ) ; } else { this . neighborhoods = neighborhoods ; this . fillNeighborhoodsHTML ( ) ; } } ) ; }
Fetch all neighborhoods and set their HTML.
Fetch all neighborhoods and set their HTML .
// Got an error