In this example, decodeURIComponent
will remove all "%20" with spaces because %20 is a replacement for spaces and "Javascript%20decodeURIComponent%20functions" text will get converted to "Javascript decodeURIComponent functions". See the code snippet: