mol_mutable 0.0.385 → 0.0.386
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
|
@@ -1285,6 +1285,10 @@ var $;
|
|
|
1285
1285
|
const print = (val) => {
|
|
1286
1286
|
if (!val)
|
|
1287
1287
|
return val;
|
|
1288
|
+
if (typeof val === 'bigint')
|
|
1289
|
+
return String(val) + 'n';
|
|
1290
|
+
if (typeof val === 'symbol')
|
|
1291
|
+
return `Symbol(${val.description})`;
|
|
1288
1292
|
if (typeof val !== 'object')
|
|
1289
1293
|
return val;
|
|
1290
1294
|
if ('outerHTML' in val)
|
|
@@ -1446,7 +1450,7 @@ var $;
|
|
|
1446
1450
|
destructor() { }
|
|
1447
1451
|
static destructor() { }
|
|
1448
1452
|
toString() {
|
|
1449
|
-
return this[Symbol.toStringTag] || this.constructor.name + '
|
|
1453
|
+
return this[Symbol.toStringTag] || this.constructor.name + '<>';
|
|
1450
1454
|
}
|
|
1451
1455
|
static toJSON() {
|
|
1452
1456
|
return this[Symbol.toStringTag] || this.$.$mol_func_name(this);
|