You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To make our URLs look more intuitive, predictable, and easier to craft, implement:
An encoder that takes a JavaScript object and returns a query string that is safe to transmit over the internet.
The encoder should only accept a non-nested object that contains keys with values that are either primitive, RegExp, or an array of primitive or RegExp.
A decoder that takes a query string and returns a JavaScript object with all escaped values unescaped and parsed back to the corresponding data type.
Task Description
To make our URLs look more intuitive, predictable, and easier to craft, implement:
object
and returns a querystring
that is safe to transmit over the internet.RegExp
, or an array of primitive orRegExp
.string
and returns a JavaScript object with all escaped values unescaped and parsed back to the corresponding data type.Related Issues
The text was updated successfully, but these errors were encountered: