mol_regexp 0.0.1014 → 0.0.1016
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
|
@@ -1532,7 +1532,7 @@ var $;
|
|
|
1532
1532
|
continue;
|
|
1533
1533
|
if (!$mol_compare_deep(args[i], args[j]))
|
|
1534
1534
|
continue;
|
|
1535
|
-
$mol_fail(new Error(`args[${i}] = args[${j}] = ${args[i]}`));
|
|
1535
|
+
$mol_fail(new Error(`args[${i}] = args[${j}] = ${print(args[i])}`));
|
|
1536
1536
|
}
|
|
1537
1537
|
}
|
|
1538
1538
|
}
|
|
@@ -1708,18 +1708,16 @@ var $;
|
|
|
1708
1708
|
return this.toString();
|
|
1709
1709
|
}
|
|
1710
1710
|
static toString() {
|
|
1711
|
-
|
|
1712
|
-
|
|
1713
|
-
|
|
1711
|
+
return this[Symbol.toStringTag] || this.$.$mol_func_name(this);
|
|
1712
|
+
}
|
|
1713
|
+
static toJSON() {
|
|
1714
|
+
return this.toString();
|
|
1714
1715
|
}
|
|
1715
1716
|
destructor() { }
|
|
1716
1717
|
static destructor() { }
|
|
1717
1718
|
toString() {
|
|
1718
1719
|
return this[Symbol.toStringTag] || this.constructor.name + '<>';
|
|
1719
1720
|
}
|
|
1720
|
-
static toJSON() {
|
|
1721
|
-
return this[Symbol.toStringTag] || this.$.$mol_func_name(this);
|
|
1722
|
-
}
|
|
1723
1721
|
toJSON() {
|
|
1724
1722
|
return this.toString();
|
|
1725
1723
|
}
|