In chrome function in brakets like below one throws error. Anybody can explain that behavior?
(function x () {return 4;})
x();
throws
Uncaught ReferenceError: x is not defined
In firefox and IE it works properly. I mean x is defined
In chrome function in brakets like below one throws error. Anybody can explain that behavior?
(function x () {return 4;})
x();
throws
Uncaught ReferenceError: x is not defined
In firefox and IE it works properly. I mean x is defined