diff --git a/fetch.js b/fetch.js index 8094dfb9..b58aeea4 100644 --- a/fetch.js +++ b/fetch.js @@ -276,10 +276,12 @@ function Body() { if (this._bodyArrayBuffer) { consumed(this) if (ArrayBuffer.isView(this._bodyArrayBuffer)) { - return Promise.resolve(this._bodyArrayBuffer.buffer.slice( - this._bodyArrayBuffer.byteOffset, - this._bodyArrayBuffer.byteOffset + this._bodyArrayBuffer.byteLength - )) + return Promise.resolve( + this._bodyArrayBuffer.buffer.slice( + this._bodyArrayBuffer.byteOffset, + this._bodyArrayBuffer.byteOffset + this._bodyArrayBuffer.byteLength + ) + ) } else { return Promise.resolve(this._bodyArrayBuffer) }