bobrossextension icon indicating copy to clipboard operation
bobrossextension copied to clipboard

Issue : Missing `let` or `const` keyword for `image` in the `for...of` loop.

Open PrinceSajjadHussain opened this issue 10 months ago • 0 comments

The for...of loop is missing a declaration keyword (let or const) for the image variable. This could lead to accidental global variable creation if image hasn't been declared elsewhere, or shadowing of an existing variable in an outer scope, potentially causing unexpected behavior. It is best practice to always declare variables with let or const.

PrinceSajjadHussain avatar Jun 23 '25 16:06 PrinceSajjadHussain