DescriptionIn testbed.js:
if (!name && ('name' in ctor) && !___.hasOwnProp(ctor, 'name')) {
name = ctor.name;
}
appears in a context where ctor is a genuine constructor function. This
will only be true when Function.prototype has a 'name' property (as it does
at least on FF, where it is the empty string) and ctor does not override it
with its own 'name' property. I suspect you meant not to "!" the hasOwnProp
test.
Patch Set 1 #
MessagesTotal messages: 3
|
|||||||||||||||||||