drop(callback){
        this.memoryStorage[this._dbName] = JSON.stringify({todos: []});

        if (callback) {
            callback.call(this, JSON.parse(this.memoryStorage[this._dbName]).todos);
        }
    }
/**
     * Will drop all storage and start fresh
     *
     * @param {function} callback The callback to fire after dropping the data
     */
Will drop all storage and start fresh
@param {function} callback The callback to fire after dropping the data
Will drop all storage and start fresh @param { function } callback The callback to fire after dropping the data
drop(callback){
        this.memoryStorage[this._dbName] = JSON.stringify({todos: []});
        if (callback) {
            callback.call(this, JSON.parse(this.memoryStorage[this._dbName]).todos);
        }
    }
drop ( callback ) { this . memoryStorage [ this . _dbName ] = JSON . stringify ( { todos : [ ] } ) ; if ( callback ) { callback . call ( this , JSON . parse ( this . memoryStorage [ this . _dbName ] ) . todos ) ; } }
Will drop all storage and start fresh
 @param {function} callback The callback to fire after dropping the data
Will drop all storage and start fresh @param { function } callback The callback to fire after dropping the data