mol_compare_deep 0.0.1400 → 0.0.1402
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 +3 -0
- package/node.test.js.map +1 -1
- package/package.json +1 -1
- package/web.test.js +3 -0
- package/web.test.js.map +1 -1
package/node.test.js
CHANGED
|
@@ -3712,6 +3712,9 @@ var $;
|
|
|
3712
3712
|
sort() {
|
|
3713
3713
|
return $mol_fail(new TypeError(`Mutable sort is forbidden. Use toSorted instead.`));
|
|
3714
3714
|
}
|
|
3715
|
+
indexOf(needle) {
|
|
3716
|
+
return this.findIndex(item => item === needle);
|
|
3717
|
+
}
|
|
3715
3718
|
[Symbol.toPrimitive]() {
|
|
3716
3719
|
return $mol_guid();
|
|
3717
3720
|
}
|