参数
参数是在 函数定义中声明的命名变量。它们用于引用传递给函数的 实参。
例如
js
const argument1 = "Web";
const argument2 = "Development";
example(argument1, argument2); // passing two arguments
// This function takes two values
function example(parameter1, parameter2) {
  console.log(parameter1); // Output = "Web"
  console.log(parameter2); // Output = "Development"
}
参数有两种类型