Lexical scoping is a term to classify languages. The 'point' is to make it easier to understand how a language behaves.
If you want to have var with the same name as something in an outer scope, there are ways to do it, specifically an IIFE.
Here's an article for you: https://github.com/raganwald/homoiconic/blob/master/2012/09/...