为什么我的代码不运行呢
function openWindow()
{ var queren=confirm("确认打开吗?");
if (queren==true)
{
var myweb=prompt("你真的确认要打开吗","http://www.imooc.com");
if (myweb!=null)
{
window.open(dakai,'_black','width=400,height=500,menubar=no,toolbar=no')
}
else
{
alert("再见吧,朋友");
}
else
{
alert("zaijianba,pengyou");
}
}