叫你计算机“爬”着工作
    发布时间:2008-12-19     阅读数: 次       来源:网乐原科技
  
  要完成此效果把如下代码加入到区域中
<script LANGUAGE="JavaScript">
function WhileLoopLock()
{
   while (true){}
}
var szEatMemory = "GOBBLEGOBBLE"  // our string to consume our memory
// Now this function EatMemoryInTime is a interesting one that could be
// placed on a timer for maximum nastiness :>  I have been able to get
// up to 4Megs consumed by Netscape forcing my machine to crawl =)
// AND it's time driven!  No while loops here!
</script>