How to encode and decode a part of a URL using JavaScript?
Originally Published Here ๐!
To encode and decode a part of URL in JavaScript, you can use the encodeURIComponent() and decodeURIComponent() functions respectively available in the global window object.
The encodeURIComponent() is different from the...
melvingeorge-me.hashnode.dev1 min read