mol_plot_all 1.2.753 → 1.2.755

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
@@ -953,6 +953,8 @@ var $;
953
953
  result = compare_pojo(left, right);
954
954
  else if (!Reflect.getPrototypeOf(left_proto))
955
955
  result = compare_pojo(left, right);
956
+ else if (Symbol.toPrimitive in left)
957
+ result = compare_primitive(left, right);
956
958
  else if (Array.isArray(left))
957
959
  result = compare_array(left, right);
958
960
  else if (left instanceof Set)
@@ -963,8 +965,6 @@ var $;
963
965
  result = compare_buffer(left, right);
964
966
  else if (Symbol.iterator in left)
965
967
  result = compare_iterator(left[Symbol.iterator](), right[Symbol.iterator]());
966
- else if (Symbol.toPrimitive in left)
967
- result = compare_primitive(left, right);
968
968
  else
969
969
  result = false;
970
970
  }