Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #10449
| Path | csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!.POSTED!not-for-mail |
|---|---|
| From | Dr J R Stockton <reply1203@merlyn.demon.co.uk> |
| Newsgroups | comp.lang.javascript |
| Subject | Re: FAQ Topic - How do I access a property of an object using a string? (2012-01-19) |
| Date | Fri, 20 Jan 2012 19:09:37 +0000 |
| Organization | Home |
| Lines | 20 |
| Message-ID | <YL0Z7zJxvbGPFwk2@invalid.uk.co.demon.merlyn.invalid> (permalink) |
| References | <4f175d0a$0$283$14726298@news.sunsite.dk> |
| NNTP-Posting-Host | JfH6RRPWQh8XzArFI0xgxA.user.speranza.aioe.org |
| Mime-Version | 1.0 |
| Content-Type | text/plain;charset=us-ascii |
| X-Complaints-To | abuse@aioe.org |
| User-Agent | Turnpike/6.05-S (<hY+ExRCkcsssDA9uJ+0bCn8+UA>) |
| X-Notice | Filtered by postfilter v. 0.8.2 |
| Xref | x330-a1.tempe.blueboxinc.net comp.lang.javascript:10449 |
Show key headers only | View raw
In comp.lang.javascript message <4f175d0a$0$283$14726298@news.sunsite.dk
>, Thu, 19 Jan 2012 00:00:03, FAQ server <javascript@dotinternet.be>
posted:
>FAQ Topic - How do I access a property of an object using
>a string?
One might add, it appears, that this can be used as a shorter way of
testing in a main file whether a variable has been defined in an include
file
if (window["Tom"])
is shorter than
if (typeof(Tom)!='undefined')
--
(c) John Stockton, nr London, UK. ?@merlyn.demon.co.uk Turnpike v6.05 MIME.
Web <http://www.merlyn.demon.co.uk/> - FAQqish topics, acronyms and links;
Astro stuff via astron-1.htm, gravity0.htm ; quotings.htm, pascal.htm, etc.
No Encoding. Quotes before replies. Snip well. Write clearly. Don't Mail News.
Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread
FAQ Topic - How do I access a property of an object using a string? (2012-01-19) "FAQ server" <javascript@dotinternet.be> - 2012-01-19 00:00 +0000 Re: FAQ Topic - How do I access a property of an object using a string? (2012-01-19) Dr J R Stockton <reply1203@merlyn.demon.co.uk> - 2012-01-20 19:09 +0000
csiph-web