yy们帮我看看呗
<!DOCTYPE html>
<html>
<head>
<title> new document </title>
<meta http-equiv="Content-Type" content="text/html; charset=gbk"/>
<script type="text/javascript">
function openWindow(){
var mass=confirm("确定打开网?");
if(mass==ture)
{window.open('prompt("请输入网址:")''width=400,height=500,munebar=no,toolbar=no');}
}
</script>
</head>
<body>
<input type="button" value="新窗口打开网站" onclick="openWindow()" />
</body>
</html>
代码哪里有错吗?