Retrieves a distinct array of 'setter' names from an object and its prototype chain.
The object to inspect
An array of property keys that have setter functions
const setters = setAccessors(myInstance); Copy
const setters = setAccessors(myInstance);
Retrieves a distinct array of 'setter' names from an object and its prototype chain.