We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e219142 commit 4abe81eCopy full SHA for 4abe81e
packages/core/FuzzedDataProvider.ts
@@ -383,7 +383,7 @@ export class FuzzedDataProvider {
383
encoding: BufferEncoding | undefined = "ascii"
384
): string {
385
if (maxLength < 0) throw new Error("maxLength must be non-negative");
386
- var result;
+ let result;
387
const arrayLength = Math.min(maxLength, this._remainingBytes);
388
389
if (this.printable) {
0 commit comments