change variable to constant in loop

This commit is contained in:
Martin Thielecke 2020-05-12 15:53:24 +02:00
parent 36c7961b2a
commit 9f71865570
Signed by: mthie
GPG Key ID: D1D25A85C8604DFB

View File

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