请看下面一段JS代码:function test(){
    this.str = "helloworld";
    alert(this.str);
    delete this.str;
    alert(this.str);
    alert("end");
}这段代码好像没有错误,但是在IE执行的结果只有“helloworld”,后面的两个警告没有执行到。
但是换成火狐,结果就是“helloworld”,“undefined”,“end”.不知道为什么会这样,求高手指教!