Match pairs

Report a typo

Match the code snippets and their return values.

Match the items from left and right columns
querystring.parse('country=fr+city=paris', '+', '=')
querystring.encode({country: 'fr', city: ['paris', 'lyon']})
querystring.escape('country=fr&city=paris')
querystring.decode('country=fr&city=paris&city=lyon')
country=fr&city=paris&city=lyon
[Object: null prototype] { country: 'fr', city: [ 'paris', 'lyon' ] }
country%3Dfr%26city%3Dparis
[Object: null prototype] { country: 'fr', city: 'paris' }
___

Create a free account to access the full topic