mol_data_all 1.1.955 → 1.1.956
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
|
@@ -1653,6 +1653,10 @@ var $;
|
|
|
1653
1653
|
const print = (val) => {
|
|
1654
1654
|
if (!val)
|
|
1655
1655
|
return val;
|
|
1656
|
+
if (typeof val === 'bigint')
|
|
1657
|
+
return String(val) + 'n';
|
|
1658
|
+
if (typeof val === 'symbol')
|
|
1659
|
+
return `Symbol(${val.description})`;
|
|
1656
1660
|
if (typeof val !== 'object')
|
|
1657
1661
|
return val;
|
|
1658
1662
|
if ('outerHTML' in val)
|
|
@@ -1817,7 +1821,7 @@ var $;
|
|
|
1817
1821
|
destructor() { }
|
|
1818
1822
|
static destructor() { }
|
|
1819
1823
|
toString() {
|
|
1820
|
-
return this[Symbol.toStringTag] || this.constructor.name + '
|
|
1824
|
+
return this[Symbol.toStringTag] || this.constructor.name + '<>';
|
|
1821
1825
|
}
|
|
1822
1826
|
static toJSON() {
|
|
1823
1827
|
return this[Symbol.toStringTag] || this.$.$mol_func_name(this);
|