Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] Getting object property names as a string
- From: mwarden at gmail.com (Matt Warden)
- Subject: [Javascript] Getting object property names as a string
- Date: Wed May 24 19:40:25 2006
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Very poor trimming on my part. Apologies. I was actually responding to: "Beware: the above will likely cause you to force-quit your browser if test is a DOM node. After making that mistake three or four times, I learned to write to the DOM instead of alerts when I'm debugging objects." And, to that, I say: Firebug is your friend: http://www.joehewitt.com/software/firebug/faq.php Matt Warden wrote: > On 5/24/06, Scott Reynen <scott@xxxxxxxxxxxxxxx> wrote: > >> On May 24, 2006, at 12:21 PM, Ryan Cannon wrote: >> >> > Greetings, this feels like a silly question, but I'm looking for a >> > way to access an object's property names as a string. For example: >> > >> > var test = { foo: 'bar' }; > > > Firebug is your friend: > > http://www.joehewitt.com/software/firebug/faq.php > - -- Matt Warden Oxford, OH, USA http://mattwarden.com This email proudly and graciously contributes to entropy. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFEdPtlrI3LObhzHRMRAifdAKDGP4QbrNs2UvbRMXwhp5QW/63mygCfQClA yh1/tlx9IlZq+BAPfCVEwEo= =2oU6 -----END PGP SIGNATURE-----
- Follow-Ups:
- References:
- [Javascript] Getting object property names as a string
- From: Ryan Cannon
- [Javascript] Getting object property names as a string
- From: Scott Reynen
- [Javascript] Getting object property names as a string
- From: Matt Warden
- [Javascript] Getting object property names as a string
- Prev by Date: [Javascript] property instead of method
- Next by Date: JavaScript debugging Was: [Javascript] Getting object property names as a string
- Previous by thread: [Javascript] Getting object property names as a string
- Next by thread: JavaScript debugging Was: [Javascript] Getting object property names as a string
- Index(es):