请问js中的 location.protocol是什么意思location.protocol.toLowerCase();

来源:学生作业帮助网 编辑:作业帮 时间:2024/05/09 12:09:46
请问js中的 location.protocol是什么意思location.protocol.toLowerCase();

请问js中的 location.protocol是什么意思location.protocol.toLowerCase();
请问js中的 location.protocol是什么意思
location.protocol.toLowerCase();

请问js中的 location.protocol是什么意思location.protocol.toLowerCase();
location.protocol 就是网络通讯协议 如http://wenwen.soso.com/z/q23226096.htm返回的就是HTTP协议location.hostname 就是主机域名soso
JavaScript中toLowerCase函数方法是返回一个字符串,该字符串中的字母被转换为小写字母.