https://dealsforwhiskytasting.blogspot.com/2023/02/problem-in-accessing-variables-changed.html
Problem In Accessing A Variable's Changed Value Outside Of If Block In Javascript Code