群里的题目:

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;
};

谢谢@闹闹爷的提醒,搞了个改进版

            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("去掉注释可以运行到这里")
            };

相关文章:

  • 2022-01-28
  • 2022-12-23
  • 2022-12-23
  • 2022-02-26
  • 2022-12-23
  • 2022-02-25
  • 2021-11-27
  • 2022-12-23
猜你喜欢
  • 2022-01-31
  • 2021-10-01
  • 2021-09-16
  • 2021-08-22
  • 2021-10-27
  • 2021-07-19
相关资源
相似解决方案