Originally Posted by felgall
The examples you quote are both running the second version of the function - that the if statement returns true is irrelevant it would run the second copy of the function even if the if statement returned false.
i see. i did not notice that. i probably have some broken non old IE code floating around.
well, you were right and i was wrong.
i'm still re-reading the spec to try to figure this one out...
awesome; it's not everyday i learn something new about JS!
thanks for the follow-up.