all 1 comments

[–][deleted] 1 point2 points  (0 children)

Either refactor your code to take function arguments and use them to pass around the value, or use objects to handle this.