创建函数的几种方式
摘要:
💬 函数声明 <script> function add(num1, num2) { return num1 + num2 } console.log(add(10, 10)) // 20 </script> 💬 函数表达式 <script> const add = function (num1 阅读全文
posted @ 2022-07-25 20:55 朱龙旭的网络 阅读(109) 评论(0) 推荐(0)
卷帝
posted @ 2022-07-25 20:55 朱龙旭的网络 阅读(109) 评论(0) 推荐(0)
posted @ 2022-07-25 20:45 朱龙旭的网络 阅读(89) 评论(0) 推荐(0)
posted @ 2022-07-25 20:14 朱龙旭的网络 阅读(184) 评论(0) 推荐(0)