mol_conform 0.0.87 → 0.0.89

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
@@ -2782,6 +2782,9 @@ var $;
2782
2782
  sort() {
2783
2783
  return $mol_fail(new TypeError(`Mutable sort is forbidden. Use toSorted instead.`));
2784
2784
  }
2785
+ indexOf(needle) {
2786
+ return this.findIndex(item => item === needle);
2787
+ }
2785
2788
  [Symbol.toPrimitive]() {
2786
2789
  return $mol_guid();
2787
2790
  }