object-inspect
Advanced tools
Comparing version 0.0.0 to 0.1.0
@@ -24,2 +24,5 @@ module.exports = function inspect_ (obj, opts, depth, seen) { | ||
} | ||
else if (typeof obj === 'function') { | ||
return '[Function' + (obj.name ? ': ' + obj.name : '') + ']'; | ||
} | ||
else if (typeof HTMLElement !== 'undefined' && obj instanceof HTMLElement) { | ||
@@ -26,0 +29,0 @@ var s = '<' + String(obj.tagName).toLowerCase(); |
{ | ||
"name": "object-inspect", | ||
"version": "0.0.0", | ||
"version": "0.1.0", | ||
"description": "string representations of objects in node and the browser", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5192
7
78