Development/Terminology
[Terminology] Parameter과 Argument
이쥬딩
2021. 1. 17. 22:20
728x90
Parameter
함수의 정의된 변수
fucntion parameter(a, b, c) {
return "a, b, c is a parameter."
}
Argument
함수의 전달되는 변수
fucntion diff(a, b, c) { // a, b, c is a parameter.
return "parameter and argument"
}
diff(1, 2, 3); // 1, 2, 3 is a argument.
728x90