debug.getfenv (o)
Returns the environment of object
o
.