mol_compare_deep 0.0.751 → 0.0.753
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/node.test.js +5 -7
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.test.js +1 -1
- package/web.test.js.map +1 -1
package/node.test.js
CHANGED
|
@@ -461,7 +461,7 @@ var $;
|
|
|
461
461
|
continue;
|
|
462
462
|
if (!$mol_compare_deep(args[i], args[j]))
|
|
463
463
|
continue;
|
|
464
|
-
$mol_fail(new Error(`args[${i}] = args[${j}] = ${args[i]}`));
|
|
464
|
+
$mol_fail(new Error(`args[${i}] = args[${j}] = ${print(args[i])}`));
|
|
465
465
|
}
|
|
466
466
|
}
|
|
467
467
|
}
|
|
@@ -771,18 +771,16 @@ var $;
|
|
|
771
771
|
return this.toString();
|
|
772
772
|
}
|
|
773
773
|
static toString() {
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
774
|
+
return this[Symbol.toStringTag] || this.$.$mol_func_name(this);
|
|
775
|
+
}
|
|
776
|
+
static toJSON() {
|
|
777
|
+
return this.toString();
|
|
777
778
|
}
|
|
778
779
|
destructor() { }
|
|
779
780
|
static destructor() { }
|
|
780
781
|
toString() {
|
|
781
782
|
return this[Symbol.toStringTag] || this.constructor.name + '<>';
|
|
782
783
|
}
|
|
783
|
-
static toJSON() {
|
|
784
|
-
return this[Symbol.toStringTag] || this.$.$mol_func_name(this);
|
|
785
|
-
}
|
|
786
784
|
toJSON() {
|
|
787
785
|
return this.toString();
|
|
788
786
|
}
|