Object.keys only returns own properties, stuf in options are not own properties. If you really need the keys, you have to Object.clone it first. On May 14, 2012 3:45 PM, "Matthew Hazlett" <hazl...@gmail.com> wrote:
> This is not enough information, please post a fiddle with all the > necessary code. > > On 5/14/2012 9:12 AM, Lee Goddard wrote: > >> Hi all >> >> I'm stuck, please help. >> >> This line: >> console.info( self.options.rules ); >> >> Renders: >> Object { F="F[-FF]F[+FF]F"} >> >> The very next line: >> console.info( Object.keys( self.options.rules ) ); >> >> Renders: >> [] >> >> Have I over-looked something? >> >> TIA! >> Lee >> > >