var fn = function example(){
console.error('Hello');
}
- I want to understand how function initialization with name 'example' doesn't throw error during execution.
- Secondly i understand the flow of 'fn' holds the reference of the function i'm assigning to it, were when i execute 'fn()' it works, were as when i try 'example()' it doesn't print "Hello" Help me to know how that stuff works !!