devios1 devios1 -4 years ago 64
Javascript Question

Determine if a JavaScript property has a getter or setter defined?

Is it possible, given an object and property name to determine if that property is defined using either a getter or setter, or is it completely transparent? I only want to define a getter/setter if there is not already one defined on the property.

I need it to work in WebKit/Firefox.

Answer Source
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download