mol_plot_all 1.2.753 → 1.2.754
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 +2 -2
- package/node.js.map +1 -1
- package/node.mjs +2 -2
- package/node.test.js +281 -2
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.js +2 -2
- package/web.js.map +1 -1
- package/web.mjs +2 -2
- package/web.test.js +279 -0
- package/web.test.js.map +1 -1
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
|
}
|