mhevery/angular.js — comment on commit 638125707adb30c4d617b0c85f48687d94a5a561
File: src/Injector.js line 262
By vojtajina:

**I do follow, what's going on there and you are right, it's absolutely fine.**

I only thought, that `instance.constructor` would be wrong, but that's not the case, as `constructor` property is not the function that created (was called with new), it's taken from its prototype.constructor, so this is absolutely fine... (Only console will display different name, in this case Constructor), but that's ok.
Even `instance.constructor === Type` (I thought it was === Constructor).