Skip to content

Commit

Permalink
Add missing let statements
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonXLF committed Jul 13, 2023
1 parent 9de333c commit 9568fdc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mrbeastify.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,8 @@ async function getHighestImageIndex() {
}

// Possible min and max values
min = i <= 4 ? 1 : i / 2;
max = i;
let min = i <= 4 ? 1 : i / 2;
let max = i;

// Binary search
while (min <= max) {
Expand Down

0 comments on commit 9568fdc

Please sign in to comment.