diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2020-07-14 15:24:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-14 15:24:17 -0400 |
commit | cde4dbb35132848ffece59ef9cfaccff32347124 (patch) | |
tree | cc7830968c6decde704c8cfb83c9185193dc698f /core/examples/http_bench.js | |
parent | 9eca71caa1674c31f9cc5d4e86c03f10b59e0a00 (diff) |
Use dprint for internal formatting (#6682)
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); |