JS 无提示关闭当前窗口

function teseClose() {
    window.opener = null;  
    window.open('','_self'); 
    window.close();
}