Skip to content

Commit

Permalink
forEach to for of loop
Browse files Browse the repository at this point in the history
  • Loading branch information
StorytellerCZ committed Feb 28, 2024
1 parent 8c368e1 commit 423f280
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/insecure_login.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ export const InsecureLogin = {
InsecureLogin.unwind();
},
unwind: () => {
InsecureLogin.queue.forEach((callback) => {
for (const callback of InsecureLogin.queue) {
callback();
});
}
InsecureLogin.queue = [];
}
};
Expand Down

0 comments on commit 423f280

Please sign in to comment.