这里是错的吧,无法访问url。
function buildUrl() {
  let qs = "?debug=true";
           
  with(location){
    let url = href + qs;    
  }
           
  return url;
}
书里的说法也不对
Inside the with statement is a variable declaration for url, 
which becomes part of the function’s context and can, therefore, be returne
d as the function value.
--
FROM 101.93.88.*