请大神指教这代码为何没窗口弹出
function openwindow()
{
var a=confirm("是否打开新窗口?");
if(a==true)
{
var b=prompt("请输入您要打开的网址","http://www.imooc.com/");
wondow.open(b,'_blank','width=400px,height=500px,menubar=no,toolbar=no')
}
else
{
null;
}
}