摘要: 函数的类型 函数声明 在JavaScript中,有两种常见的定义函数的方式——函数声明(Function Declaration) 和函数表达式(Function Expression) // 函数声明 function sum (x,y) { return x + y } // 函数表达式 let 阅读全文
posted @ 2021-07-06 16:16 upupupupupgo 阅读(171) 评论(0) 推荐(0) 编辑