getAll
The getAll() method of the URLSearchParams interface returns all the values associated with a given search parameter as an array.
The getAll() method of the URLSearchParams interface returns all the values associated with a given search parameter as an array.