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

I think you’re looking for getOwnPropertyDescriptor?

Leave a Comment