[Javascript] Getting object property names as a string

Matt Warden mwarden at gmail.com
Wed May 24 14:18:02 CDT 2006


On 5/24/06, Scott Reynen <scott at randomchaos.com> 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.


More information about the Javascript mailing list