mol_key 0.0.736 → 0.0.738
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
|
@@ -384,7 +384,7 @@ var $;
|
|
|
384
384
|
continue;
|
|
385
385
|
if (!$mol_compare_deep(args[i], args[j]))
|
|
386
386
|
continue;
|
|
387
|
-
$mol_fail(new Error(`args[${i}] = args[${j}] = ${args[i]}`));
|
|
387
|
+
$mol_fail(new Error(`args[${i}] = args[${j}] = ${print(args[i])}`));
|
|
388
388
|
}
|
|
389
389
|
}
|
|
390
390
|
}
|
|
@@ -694,18 +694,16 @@ var $;
|
|
|
694
694
|
return this.toString();
|
|
695
695
|
}
|
|
696
696
|
static toString() {
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
697
|
+
return this[Symbol.toStringTag] || this.$.$mol_func_name(this);
|
|
698
|
+
}
|
|
699
|
+
static toJSON() {
|
|
700
|
+
return this.toString();
|
|
700
701
|
}
|
|
701
702
|
destructor() { }
|
|
702
703
|
static destructor() { }
|
|
703
704
|
toString() {
|
|
704
705
|
return this[Symbol.toStringTag] || this.constructor.name + '<>';
|
|
705
706
|
}
|
|
706
|
-
static toJSON() {
|
|
707
|
-
return this[Symbol.toStringTag] || this.$.$mol_func_name(this);
|
|
708
|
-
}
|
|
709
707
|
toJSON() {
|
|
710
708
|
return this.toString();
|
|
711
709
|
}
|