js执行eval()抛出异常SyntaxError

try{
     eval("("+data+")");
}catch(err) {
     location.href = window.location.href;
}

js执行eval()抛出异常SyntaxError

原文地址:http://www.cnblogs.com/henuyuxiang/p/7281670.html


最新回复(0)
/jishuluM1Pc8YfSk_2B3i37vyG696P0hmbjxKvt26Y1qkrWMKw_3D4719200
8 简首页