This is how JavaScript "var" keyword behaves.

This is how JavaScript "var" keyword behaves.

More to explore

Based on this image's title: “This is how JavaScript "var" keyword behaves.