[n0js] case1

Please execute the code: prompt 1
Datetime: 2016-11-23
view-source:
function test(a1,a2,a3){console.log(`${a1}`);eval(`${a2}`);console.warn(`${a3}`)};var x=location.hash;
l1=escape(x.split('#')[1]);l2=x.split('#')[2];l3=x.split('#')[3];if(l1==='undefined'||l1.length>=30){a1};
if(l2==='undefined'||l2.length>=35){a2};var v=['1',l2,'3'];if(l1.indexOf(';')>=0||l2.indexOf('(')>=0){a3};
if(l2.indexOf('/')>=0){b1};if(l3.indexOf(']')>=0||l3.length>=2){c3};{d=l1+'v'+l3.trim();eval('test('+d+')')};