summaryrefslogtreecommitdiffstats
path: root/src/mirror-delay.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/mirror-delay.js')
-rw-r--r--src/mirror-delay.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mirror-delay.js b/src/mirror-delay.js
index c4ab7b8e..cde55343 100644
--- a/src/mirror-delay.js
+++ b/src/mirror-delay.js
@@ -764,7 +764,7 @@ ObjectMirror.prototype.referencedBy = function(opt_max_objects) {
ObjectMirror.prototype.toText = function() {
var name;
var ctor = this.constructorFunction();
- if (ctor.isUndefined()) {
+ if (!ctor.isFunction()) {
name = this.className();
} else {
name = ctor.name();