Top "Name-binding" questions

What happens when JavaScript variable name and function name is the same?

I have the following code, where I declare a function and after it, a variable with the same name as …

javascript function scope hoisting name-binding