Use empty string constructor name when missing
This commit is contained in:
parent
d67dfd09fd
commit
a9b43a0fc9
2 changed files with 3 additions and 2 deletions
|
@ -60,7 +60,7 @@ var wrapArgs = function (args, visited) {
|
|||
|
||||
ret = {
|
||||
type: 'object',
|
||||
name: value.constructor != null ? value.constructor.name : 'Object',
|
||||
name: value.constructor != null ? value.constructor.name : '',
|
||||
members: []
|
||||
}
|
||||
for (prop in value) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue