马黑PHP整站系统

日一二三四五六
      1
2345678
9101112131415
16171819202122
23242526272829
30      

[复位日记]

最新评论

◇ 风云
◇ 悄然
◇ 飞飞
◇ 马黑
◇ 悄然

网站统计

·今日访问 : 289
·页面点击 : 348
·当前在线 : 6

2025年11月27日 星期四[阅读 300]

  1. <div id="pa"></div>

  2. <script>
  3.     // 求两个数运算后的和
  4.     const sumsquare = (x, y, func) => func(x) + func(y);
  5.     // 求一个数的平方
  6.     const square = (a) => a**2;
  7.     const res = sumsquare(144, 50, square);
  8.     pa.innerText = res;
  9. </script>

2025': 前一则  下一年    

发表评论:

       

Copyright © 2023 All Right Reserved 马黑PHP文章管理整站系统v1.8
联系我们: gxblk@163.com