trim() //去除字符串两边的空白。
tolowercase() //将所有的英文字符转换为小写字母
toUpperCase() //将所有的英文字符转换为大写字母
encodeURIComponent() //编码 URI 。
decodeURIComponent() //可对编码的 URI 进行解码
trim() //去除字符串两边的空白。
tolowercase() //将所有的英文字符转换为小写字母
toUpperCase() //将所有的英文字符转换为大写字母
encodeURIComponent() //编码 URI 。
decodeURIComponent() //可对编码的 URI 进行解码
本文标题:常用js代码
本文链接:https://www.haomeiwen.com/subject/dtynbrtx.html
网友评论