邪恶的eval和new Function使用介绍
代码: 复制代码 代码如下: // 友善提醒:为了你的手指安全,请在Chrome下运行 "alert("hello")".replace(/.+/, eval); "alert("hello")".replace(/.+/, function(m){new Function(m)();}); var i = 0; eval(new Array(101).join("alert(++i);")); var i = 0; new Function(new Ar...