摘要: 函数的定义: 具有一定功能,封装成函数。 【函数三要素】 函数名 参数(形参,实参) 返回值 声明函数 1、字面量创建(有叫声明式函数) function 函数名() {函数体} 2、构造函数 let 函数名 = new Function();console.log(typeof 函数名);//fu 阅读全文
posted @ 2021-03-18 08:55 伍阳 阅读(65) 评论(0) 推荐(0)