init(){
        fetch(`./src/db/${this.name}.json`)
        .then((response) => {
            return response.json();
        }).then((json) => {
            this.data = json;
            this.finishLoad = true;
        })
    }
/**
     * Loader
     * After fetching data, it will change it's status to finishLoad
     * and put the json result into `this.data`
     */
Loader
After fetching data, it will change it's status to finishLoad
and put the json result into `this.data`
Loader After fetching data it will change it ' s status to finishLoad and put the json result into ` this . data `
init(){
        fetch(`./src/db/${this.name}.json`)
        .then((response) => {
            return response.json();
        }).then((json) => {
            this.data = json;
            this.finishLoad = true;
        })
    }
init ( ) { fetch ( ` ${ this . name } ` ) . then ( ( response ) => { return response . json ( ) ; } ) . then ( ( json ) => { this . data = json ; this . finishLoad = true ; } ) }
Loader
 After fetching data, it will change it's status to finishLoad
 and put the json result into `this.data`
Loader After fetching data it will change it ' s status to finishLoad and put the json result into ` this . data `