News for hackers. Stuff that matters.
Re:The best JavaScript guide ever by pdelgallego on Wednesday October 06, 2010 @01:42PM (#1764933)
This works different is firefox than in webkit.

==== 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)

There are no comments on this comment yet.