Can anyone think of a web platform API that accepts a string or array of strings as an argument?

I thought for sure this was a thing, but I'm drawing blanks

EDIT: Answered! https://hachyderm.io/@evilpie/112260613777599323

Tom Schuster (@[email protected])

@[email protected] https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/createIndex

Hachyderm.io
@dotproto does array concat count?

@lamplightdev Nah, that method has a variadic argument. I was looking for cases where the argument is basically a union type

Turns out `createIndex` on IndexedDB does what I was looking for: https://hachyderm.io/@evilpie/112260613777599323

Tom Schuster (@[email protected])

@[email protected] https://developer.mozilla.org/en-US/docs/Web/API/IDBObjectStore/createIndex

Hachyderm.io