静态类

mac2022-06-30  25

< script type = " text/javascript " > var  test  =   function (){     var  mm1 = function (){alert( " mm1 " );}();     var  mm2  = function (){alert( " mm2 " );}     return  {                F1:mm2,                F2: function (){alert( " FF " )}            }    }();       test.F1();   < / script>

转载于:https://www.cnblogs.com/Elong/archive/2009/04/04/1429353.html

最新回复(0)