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.
BROWSER STATS [% share]
(2013/10/31) IE7:0.5, IE8:8.6, IE9:5.3, IE10:12.3, FF:17.7, CH:41.8, SF:8.1, MOBILE:20.4