Pass through empty constructor names
This commit is contained in:
parent
a1209b69b3
commit
d67dfd09fd
3 changed files with 5 additions and 4 deletions
4
spec/fixtures/module/no-prototype.js
vendored
4
spec/fixtures/module/no-prototype.js
vendored
|
@ -4,7 +4,7 @@ foo.baz = false
|
|||
module.exports = {
|
||||
foo: foo,
|
||||
bar: 1234,
|
||||
baz: function () {
|
||||
return 'hello'
|
||||
getConstructorName: function (value) {
|
||||
return value.constructor.name
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue