写一段最短的代码,用上js所有关键字

2018-04-17  本文已影响0人  窗边冷月光
void function() {//abcd  
  do break;while(typeof delete this); 
  for(var a;;) 
  if (true)  with(null) 
  try{}catch(a){}finally{} else throw new 1; 
     
  switch(1 in 1 instanceof 1) { 
    case false: 
    default: 
  } 
  return; 
}; 
 
// or
new function() { 
    do break;while(typeof delete this); 
    for(var a;void 0;) 
        continue
    if (null) 
        with(0) 
    try{ 
        switch(1 in 1 instanceof 1) { 
            case false: 
            default:throw true
        } 
    }catch(a){}finally{}else return  // console.log("测试") 
};
上一篇 下一篇

猜你喜欢

热点阅读