public async getPromiseArray(from: number, to: number): Promise { const someArray = this.someArray; const arr1 = someArray.slice(from, from +