==== if (true) { function foo(){ return 1; } } else { function foo(){ return 2; } } foo();
firefox return 1 webkit return 2 Other engines return an error (that is what is suppose to happen according to the specification)
==== if (true) { function foo(){ return 1; } } else { function foo(){ return 2; } } foo();
firefox return 1 webkit return 2 Other engines return an error (that is what is suppose to happen according to the specification)