prompt弹框为嘛里面不可以再加个alert弹窗了
if(score>=90)
{
alert("document.write('你很棒!')");
}
像这样写就可以了。
测试必须在document.write前加alert,难不成document.write相当于return????