mol_key 0.0.1383 → 0.0.1385

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 CHANGED
@@ -3620,6 +3620,9 @@ var $;
3620
3620
  sort() {
3621
3621
  return $mol_fail(new TypeError(`Mutable sort is forbidden. Use toSorted instead.`));
3622
3622
  }
3623
+ indexOf(needle) {
3624
+ return this.findIndex(item => item === needle);
3625
+ }
3623
3626
  [Symbol.toPrimitive]() {
3624
3627
  return $mol_guid();
3625
3628
  }