Hoist function declrations from within while(), for() and do-while() statements.