change variable to constant in loop

master
Martin Thielecke 2 years ago
parent 36c7961b2a
commit 9f71865570
Signed by: mthie
GPG Key ID: D1D25A85C8604DFB
  1. 2
      static/collector.js

@ -13,7 +13,7 @@ function TwitchCollector(interval = 2e4) {
function _update(data) {
_data = data;
for (let hook of _hooks.update) {
for (const hook of _hooks.update) {
hook(data);
}
}

Loading…
Cancel
Save