does item exist in array

PHOTO EMBED

Fri Jul 08 2022 17:26:38 GMT+0000 (Coordinated Universal Time)

Saved by @mmerkley #html

if (myArray.indexOf(item) < 0) {
  myArray.push(item);
}
content_copyCOPY