← Code LabNode.js0/50 solved · 0%
Web · easy

6. Simple URL Param Extractor

Parse query strings manually.

Write `parseQuery(str)` that turns `?a=1&b=2` into `{ a: '1', b: '2' }`.
Required in your answer: split('&')split('=')