<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>close()</title>
<script type="text/javascript">
var mywin=window.open("http://www.imooc.com");
var mywin=window.close("http://www.imooc.com");
</script>
</head>
<body>
</body>
</html>
比如这个代码,为什么要用同一个变量名才关闭窗口呢????
woshiajuana