(function iterator(i){

  //循环终止

  if( i == *.length ){

    console.log("循环终止!");

    return;

  }

  //循环区域

  console.log(i);

  iterator( i+1 );

})(0)

posted on 2017-02-21 22:10  SunShineKG  阅读(756)  评论(0编辑  收藏  举报