[Javascript] defining functions before they're called

Paul Novitski paul at juniperwebcraft.com
Thu Aug 20 19:03:01 CDT 2009


At 8/20/2009 03:52 PM, Brian L. Matthews wrote:
>On 8/20/09 12:50 PM, Alexander Freiria wrote:
> > Your wrong Brian that will work.
> >
>
>Ok, I'm an idiot. I had a typo in my test program, once I fixed that it
>works. You still have to define things, you evidently don't have to do
>so before using them. Learn something new every day!


Totally not a problem, don't worry about it.

Can you recall where you learned that calling before declaring a 
function was bad form? I'd love to trace that back to see where it 
comes from and whether it ever pertained to JavaScript.

Thanks!

Paul
__________________________

Paul Novitski
Juniper Webcraft Ltd.
http://juniperwebcraft.com 




More information about the Javascript mailing list