mol_crypto_lib 0.1.1640 → 0.1.1642

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
@@ -3979,6 +3979,9 @@ var $;
3979
3979
  sort() {
3980
3980
  return $mol_fail(new TypeError(`Mutable sort is forbidden. Use toSorted instead.`));
3981
3981
  }
3982
+ indexOf(needle) {
3983
+ return this.findIndex(item => item === needle);
3984
+ }
3982
3985
  [Symbol.toPrimitive]() {
3983
3986
  return $mol_guid();
3984
3987
  }