diff --git a/content/Bytebeat.md b/content/Bytebeat.md index 971d4782..58e6acb0 100644 --- a/content/Bytebeat.md +++ b/content/Bytebeat.md @@ -63,11 +63,7 @@ let t = 0; const mainProcess = () =>{ const data = Uint8Array.from({ length: length }, - (v, _t) => { - const res = bytebeat(t); - t += 1; - return res - } + (v, _t) => bytebeat(t++) ); process.stdout.write(data); };