mol_time_all 1.1.836 → 1.1.837
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 -1
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.test.js +4 -0
- package/web.test.js.map +1 -1
package/node.test.js
CHANGED
|
@@ -1874,6 +1874,10 @@ var $;
|
|
|
1874
1874
|
const print = (val) => {
|
|
1875
1875
|
if (!val)
|
|
1876
1876
|
return val;
|
|
1877
|
+
if (typeof val === 'bigint')
|
|
1878
|
+
return String(val) + 'n';
|
|
1879
|
+
if (typeof val === 'symbol')
|
|
1880
|
+
return `Symbol(${val.description})`;
|
|
1877
1881
|
if (typeof val !== 'object')
|
|
1878
1882
|
return val;
|
|
1879
1883
|
if ('outerHTML' in val)
|
|
@@ -2041,7 +2045,7 @@ var $;
|
|
|
2041
2045
|
destructor() { }
|
|
2042
2046
|
static destructor() { }
|
|
2043
2047
|
toString() {
|
|
2044
|
-
return this[Symbol.toStringTag] || this.constructor.name + '
|
|
2048
|
+
return this[Symbol.toStringTag] || this.constructor.name + '<>';
|
|
2045
2049
|
}
|
|
2046
2050
|
static toJSON() {
|
|
2047
2051
|
return this[Symbol.toStringTag] || this.$.$mol_func_name(this);
|