Instance ids

Zaid Abdulla zaid at genieacs.com
Mon Mar 20 19:14:38 EDT 2017


On Mon, 2017-03-20 at 14:42 -0800, Dan Morphis wrote:
> Awesome! What other keys are there? There is obviously also .value
> 
> I tried:
> log('Keys: ' + Object.keys(p).join(', '));
> 
> and nothing is output to the log.

There's path, object, writable, and value. The path property is the
only one that's always available. The others are only available when
used in the declare() call.

It's normal that they don't show in Object.keys() because they're not
set as enumerable properties.

-- 
Zaid Abdulla <zaid at genieacs.com>


More information about the Users mailing list