I’m a bit confused by the following interaction on Firefox:
> Object.getOwnPropertyNames(new Error())
[]
> Object.getOwnPropertyDescriptor(new Error(), "stack")
{…}
That does not make sense to me. Shouldn’t the property be either accessible in
both cases or in neither case?
--
Dr. Axel Rauschmayer
[email protected]
home: rauschma.de
twitter: twitter.com/rauschma
blog: 2ality.com
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss