Build and parse URIs
Use the non-throwing encodeURI, encodeURIComponent, decodeURI, and decodeURIComponent wrappers.
Encode and decode base64
Use the non-throwing atob and btoa wrappers.
Fetch JSON safely
Perform an HTTP request and decode the body without any throwing API in the path.
Parse and stringify JSON
Use JSON.parse and JSON.stringify without catching SyntaxError by hand.