Skip to content

Glossary: JavaScript in the Browser

Encoding

Also written: encoded, encodeURIComponent, URLSearchParams

Rewriting characters such as spaces so they are safe in an address. URLSearchParams builds an encoded query string, and encodeURIComponent encodes a single value in a path.

Where the book teaches it

Related terms

Query string