1、escape 和 unescape
对除ASCII字母、数字、标点符号 @ * _ + - . / 以外的其他字符进行编码。
2、encodeURI 和 decodeURI
返回编码为有效的统一资源标识符 (URI) 的字符串,不会被编码的字符:! @ # $ & * ( ) = : / ; ? + '
3、encodeURIComponent 和 decodeURIComponent
和encodeURI 和 decodeURI规则相同,只不过encodeURIComponent 和 decodeURIComponent是针对整个url的,而encodeURI 和 decodeURI针对域名后面的字符