mol_key 0.0.728 → 0.0.730
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
|
@@ -402,6 +402,10 @@ var $;
|
|
|
402
402
|
const print = (val) => {
|
|
403
403
|
if (!val)
|
|
404
404
|
return val;
|
|
405
|
+
if (typeof val === 'bigint')
|
|
406
|
+
return String(val) + 'n';
|
|
407
|
+
if (typeof val === 'symbol')
|
|
408
|
+
return `Symbol(${val.description})`;
|
|
405
409
|
if (typeof val !== 'object')
|
|
406
410
|
return val;
|
|
407
411
|
if ('outerHTML' in val)
|
|
@@ -697,7 +701,7 @@ var $;
|
|
|
697
701
|
destructor() { }
|
|
698
702
|
static destructor() { }
|
|
699
703
|
toString() {
|
|
700
|
-
return this[Symbol.toStringTag] || this.constructor.name + '
|
|
704
|
+
return this[Symbol.toStringTag] || this.constructor.name + '<>';
|
|
701
705
|
}
|
|
702
706
|
static toJSON() {
|
|
703
707
|
return this[Symbol.toStringTag] || this.$.$mol_func_name(this);
|