Is it possible to write a function that return the string value of a property of an object?
if I have an object called apple that has a method called peel i would like to have a method that returns "peel" when I call getAttributeName(apple.peel).
How can I do it?