diff options
Diffstat (limited to 'core/examples/http_bench.js')
-rw-r--r-- | core/examples/http_bench.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/examples/http_bench.js b/core/examples/http_bench.js index a893dab40..eba9bb677 100644 --- a/core/examples/http_bench.js +++ b/core/examples/http_bench.js @@ -5,7 +5,7 @@ const requestBuf = new Uint8Array(64 * 1024); const responseBuf = new Uint8Array( "HTTP/1.1 200 OK\r\nContent-Length: 12\r\n\r\nHello World\n" .split("") - .map((c) => c.charCodeAt(0)) + .map((c) => c.charCodeAt(0)), ); const promiseMap = new Map(); let nextPromiseId = 1; @@ -32,7 +32,7 @@ const scratch32 = new Int32Array(3); const scratchBytes = new Uint8Array( scratch32.buffer, scratch32.byteOffset, - scratch32.byteLength + scratch32.byteLength, ); assert(scratchBytes.byteLength === 3 * 4); |