mol_data_all 1.1.1610 → 1.1.1612

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
@@ -3175,6 +3175,9 @@ var $;
3175
3175
  sort() {
3176
3176
  return $mol_fail(new TypeError(`Mutable sort is forbidden. Use toSorted instead.`));
3177
3177
  }
3178
+ indexOf(needle) {
3179
+ return this.findIndex(item => item === needle);
3180
+ }
3178
3181
  [Symbol.toPrimitive]() {
3179
3182
  return $mol_guid();
3180
3183
  }