Original: f3bce9c7b8
This commit is contained in:
Ryan Dahl 2018-12-06 17:18:10 -05:00
parent 17c255581d
commit c5871cb996
2 changed files with 3 additions and 3 deletions

View file

@ -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);