decodes all special values
Description
decodeURIComponent() decodes all special values.
Example
var uri = "http%3A%2F%2Fwww.java2s.com%2Fillegal%20value.htm%23start";
console.log(decodeURI(uri));
console.log(decodeURIComponent(uri));
The code above generates the following result.