> -----Original Message-----
> From: Ian Skinner [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 12, 2008 4:15 PM
> To: cf-talk
> Subject: Re: OT JavaScript question.
> 
> Adrian Lynch wrote:
> > Or do you mean with?
> >
> > with someObject {
> >     var1 = "not";
> >     var2 = "sure";
> >     var3 = "about";
> >     var4 = "this";
> >     var5 = "syntax";
> >     var6 = "or";
> >     var7 = "whether";
> >     var8 = "it's a JavaScript";
> >     var9 = "thing or not";
> > }
> >
> > alert(someObject.var1);
> 
> Yes that is the one I was looking for!.  I found 'with' to be a very
> poor search term on Google, or any search engine for that matter.

The actual, factual name of this is "Object Literal Notation" - Google
should be more cooperative with that.  ;^)

Jim Davis


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:315176
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to