change variable to constant in loop
This commit is contained in:
parent
36c7961b2a
commit
9f71865570
|
@ -13,7 +13,7 @@ function TwitchCollector(interval = 2e4) {
|
||||||
function _update(data) {
|
function _update(data) {
|
||||||
_data = data;
|
_data = data;
|
||||||
|
|
||||||
for (let hook of _hooks.update) {
|
for (const hook of _hooks.update) {
|
||||||
hook(data);
|
hook(data);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue
Block a user