79608333

Date: 2025-05-06 09:00:39
Score: 0.5
Natty:
Report link

I had this issue when I had one file with global variable declaration:

var v

and another file with local variable use but also this same local variable declaration (by accident) AFTER it was first used in a function:

function f() {

  v = 5;
  
  let v = 5;

}

So for the function f the variable v is local.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: vstepaniuk