mol_wire_lib 1.0.1562 → 1.0.1563
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
|
@@ -3758,6 +3758,9 @@ var $;
|
|
|
3758
3758
|
sort() {
|
|
3759
3759
|
return $mol_fail(new TypeError(`Mutable sort is forbidden. Use toSorted instead.`));
|
|
3760
3760
|
}
|
|
3761
|
+
indexOf(needle) {
|
|
3762
|
+
return this.findIndex(item => item === needle);
|
|
3763
|
+
}
|
|
3761
3764
|
[Symbol.toPrimitive]() {
|
|
3762
3765
|
return $mol_guid();
|
|
3763
3766
|
}
|