I had some doubts for function literals
- Why does the function name in function literals have no significance?
- Why aren't they important?
Why doesn't the function get invoked when we try to call using the function name in case of function literals?
var a = function b(){ //some code } b(); //Doesn't work
Why does the name b have no significance but a does?
I am new to JavaScript and a beginner so any help would be appreciated!