mol_db 0.0.1566 → 0.0.1568
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
|
@@ -4005,6 +4005,9 @@ var $;
|
|
|
4005
4005
|
sort() {
|
|
4006
4006
|
return $mol_fail(new TypeError(`Mutable sort is forbidden. Use toSorted instead.`));
|
|
4007
4007
|
}
|
|
4008
|
+
indexOf(needle) {
|
|
4009
|
+
return this.findIndex(item => item === needle);
|
|
4010
|
+
}
|
|
4008
4011
|
[Symbol.toPrimitive]() {
|
|
4009
4012
|
return $mol_guid();
|
|
4010
4013
|
}
|