mirror of
https://github.com/denoland/deno.git
synced 2025-09-30 06:04:48 +00:00
parent
17c255581d
commit
c5871cb996
2 changed files with 3 additions and 3 deletions
|
@ -17,7 +17,7 @@ function init() {
|
|||
if (testBytes == null) {
|
||||
testBytes = new Uint8Array(N);
|
||||
for (let i = 0; i < N; i++) {
|
||||
testBytes[i] = "a".charCodeAt(0) + i % 26;
|
||||
testBytes[i] = "a".charCodeAt(0) + (i % 26);
|
||||
}
|
||||
const decoder = new TextDecoder();
|
||||
testString = decoder.decode(testBytes);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue