Closed cozyazure closed 8 years ago
For ES6, constructor's name will be the same as the class name of an object, and it will be stored under the __proto__.constructor.name. If this is defined, use this custom name instead.
__proto__.constructor.name
Any way this could make its way into a new release? 0.6.0 is out there, with these commits dangling off of master.
I'll cut a release today
Thanks much!
Released in v0.7.0
For ES6, constructor's name will be the same as the class name of an object, and it will be stored under the
__proto__.constructor.name
. If this is defined, use this custom name instead.