<script>
        //111111111111111
        // function clickFunc(e){
        //     console.log(e);
        //     alert(333);
            
        // }
        //222222222222222 匿名函数的写法
        //  var clickFunc = function(){
        //      alert(2222);
        //  }

        //333333333333333     es6的写法
        // var clickFunc = (e) =>{
        //     console.log(e);
        //     alert(111);
        // }
    </script>

 

相关文章:

  • 2021-12-10
  • 2021-12-31
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-01-16
  • 2022-01-02
猜你喜欢
  • 2021-11-11
  • 2022-12-23
  • 2021-10-09
  • 2021-09-19
  • 2021-11-03
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案