mol_jsx_lib 0.0.613 → 0.0.614

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.js CHANGED
@@ -1743,6 +1743,8 @@ var $;
1743
1743
  result = compare_pojo(left, right);
1744
1744
  else if (!Reflect.getPrototypeOf(left_proto))
1745
1745
  result = compare_pojo(left, right);
1746
+ else if (Symbol.toPrimitive in left)
1747
+ result = compare_primitive(left, right);
1746
1748
  else if (Array.isArray(left))
1747
1749
  result = compare_array(left, right);
1748
1750
  else if (left instanceof Set)
@@ -1753,8 +1755,6 @@ var $;
1753
1755
  result = compare_buffer(left, right);
1754
1756
  else if (Symbol.iterator in left)
1755
1757
  result = compare_iterator(left[Symbol.iterator](), right[Symbol.iterator]());
1756
- else if (Symbol.toPrimitive in left)
1757
- result = compare_primitive(left, right);
1758
1758
  else
1759
1759
  result = false;
1760
1760
  }