mol_regexp 0.0.1006 → 0.0.1008

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 CHANGED
@@ -1550,6 +1550,10 @@ var $;
1550
1550
  const print = (val) => {
1551
1551
  if (!val)
1552
1552
  return val;
1553
+ if (typeof val === 'bigint')
1554
+ return String(val) + 'n';
1555
+ if (typeof val === 'symbol')
1556
+ return `Symbol(${val.description})`;
1553
1557
  if (typeof val !== 'object')
1554
1558
  return val;
1555
1559
  if ('outerHTML' in val)
@@ -1711,7 +1715,7 @@ var $;
1711
1715
  destructor() { }
1712
1716
  static destructor() { }
1713
1717
  toString() {
1714
- return this[Symbol.toStringTag] || this.constructor.name + '()';
1718
+ return this[Symbol.toStringTag] || this.constructor.name + '<>';
1715
1719
  }
1716
1720
  static toJSON() {
1717
1721
  return this[Symbol.toStringTag] || this.$.$mol_func_name(this);