这个代码哪里有问题?
function open(){
var myopen=prompt("欢迎来到慕课网","https://www.imooc.com/learn/10");
if(myopen!=null)
{window.open('https://www.imooc.com/learn/10','-blank','width=600px,height=400px')}
else
{ alert("xx")}
}
function open(){
var myopen=prompt("欢迎来到慕课网","https://www.imooc.com/learn/10");
if(myopen!=null)
{window.open('https://www.imooc.com/learn/10','-blank','width=600px,height=400px')}
else
{ alert("xx")}
}
2019-05-02
举报