decodeURIComponent 方法
返回统一资源标识符 (URI) 的一个已编码组件的非编码形式。
decodeURIComponent(encodedURIString)
必选的 encodedURIString 参数代表一个已编码的 URI 组件。
说明
URIComponent 是一个完整的 URI 的一部分。
假如 encodedURIString 无效,将产生一个 URIError。
- 上一篇:decodeURI 方法
- 下一篇:concat 方法 (Array)
精彩图集
精彩文章