使用频率 | 中 |
所属模块 | Std.url |
成员类型 | 静态成员变量 |
var url = Std.url("http://doc.stdjs.com/action.php?action=documentation.location_documentation&ID=8&APIID=109");
url.host = "www.stdjs.com";
url.toUrl();
//toUrl方法最终得到值
"http://www.stdjs.com/action.php?action=documentation.location_documentation&ID=8&APIID=109"