turn array into query param javascript code example
Example: javascript object to params string
var queryString = Object.keys(params).map(key => key + '=' + params[key]).join('&');
var queryString = Object.keys(params).map(key => key + '=' + params[key]).join('&');