setName
Set a human-readable name of an object.
setName(obj, value)
var f = function() {};
canReflect.setName(f, "myFunction")
f.name //-> "myFunction"
Parameters
- obj
{Object}
:the object to set on
- value
{String}
:the value to set for the object