location.href:
"http://coding.imooc.com/learn/questiondetail/30232.html&ask=414b3d25f128cb664812b647e62e8dea"
location.hostname:
"coding.imooc.com"
location.pathname:
"/learn/questiondetail/30232.html&ask=414b3d25f128cb664812b647e62e8dea"
location.search:
问号后面的
location.hash:
井号后面的