```
var greet="Hello";
function Greet(Greetings=greet)
{
     console.log(Greetings);
}
function Greet_Friend()
{
     var greet="Hi";
     Greet();
}
Greet_Friend();

```

I am having some problems in understanding the scopes in JavaScript?
On Running this code i get "Hello" as output but I need "Hi".