« get me outta code hell

don't global-hoist speedtest definition - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <towerofnix@gmail.com>2021-04-15 13:53:23 -0300
committer(quasar) nebula <towerofnix@gmail.com>2021-04-15 13:53:23 -0300
commitfbfe596c99924431b3e7105ab3c568bbf26f3fef (patch)
tree3ecd2d722dde9fea8925a57e26fd27f16f2c132d
parent396491ffd6f4428f72e749057da78bf042bf36b7 (diff)
don't global-hoist speedtest definition
-rwxr-xr-xupd8.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/upd8.js b/upd8.js
index 7396ac3b..b1eb8966 100755
--- a/upd8.js
+++ b/upd8.js
@@ -1173,7 +1173,7 @@ const replacerSpec = {
 }
 
 {
-    function test(input) {
+    const test = input => {
         let n = 0;
         const s = 5;
         const start = Date.now();