mol_wire_dom 0.0.1544 → 0.0.1545

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
@@ -3268,6 +3268,9 @@ var $;
3268
3268
  sort() {
3269
3269
  return $mol_fail(new TypeError(`Mutable sort is forbidden. Use toSorted instead.`));
3270
3270
  }
3271
+ indexOf(needle) {
3272
+ return this.findIndex(item => item === needle);
3273
+ }
3271
3274
  [Symbol.toPrimitive]() {
3272
3275
  return $mol_guid();
3273
3276
  }