In URLSearchParams interface, the foreach() method returns an iterator which allows to iterate through all values contained in this object with the help of a callback function.
Return: It does not return anything, used for invoking the function and iteraating through it.
callback – Input the callback function that wil be executed against each parameter, with the value of the parameter provided as its parameter.
vala keya valb keyb
par parval foo fooval bar barval
- Google Chrome
- Apple Safari