闭包结构(多层)

<script>
  function b() {
         
            function cc2() {
                var c2 = "iojoij";
                cc3 = function () {
                    alert(c2);
                }
            }
            cc2();
        }
        b();
        cc3();
<script>

 

posted on 2015-09-28 20:35  freedom's_blog  阅读(198)  评论(0编辑  收藏  举报

导航