<!DOCTYPE html><html lang="zh"><head> <meta charset="UTF-8"> <title>首页</title>
</head><body>
<script type="text/javascript"> console.log(window); </script></body></html>
控制台输出