[Javascript] Try and Catch Question

Troy III Ajnej trojani2000 at hotmail.com
Sun Mar 8 06:29:06 CDT 2009


Everything.

Absolutely everything that requires paranethesis is a function. 



 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                      Troy III
                         progressive art enterprise
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 



 
> Date: Tue, 3 Mar 2009 12:52:24 -0800
> From: blmatthews at gmail.com
> To: javascript at lists.evolt.org
> Subject: Re: [Javascript] Try and Catch Question
> 
> >
> >
> > The "catch(whatever)" is obviously a function-call
> > 
> 
> Uh, no. catch specifies where the program flow should go when throw is 
> executed in the block preceding the catch. The whatever is just a 
> variable that gets assigned the value that was thrown. It's often e or 
> err for obvious reasons, but there's nothing special about either of 
> those names.
> 
> Brian
> _______________________________________________
> Javascript mailing list
> Javascript at lists.evolt.org
> http://lists.evolt.org/mailman/listinfo/javascript

_________________________________________________________________
Windows Live™ Contacts: Organize your contact list. 
http://windowslive.com/connect/post/marcusatmicrosoft.spaces.live.com-Blog-cns!503D1D86EBB2B53C!2285.entry?ocid=TXT_TAGLM_WL_UGC_Contacts_032009


More information about the Javascript mailing list