参数对比实参
概念检查 简单
题目
In `函数 greet(name) { ... }` called as `greet("Ada")`, 什么是 "Ada"?
提示
参数是 in 定义; 实参是 at call site.
解释
"Ada" is an argument — the actual value passed to the function when calling it. name is the parameter — the named placeholder in the function definition. Parameters are slots; arguments are the values that fill those slots at call time.
相关资源
相关课程
- 函数
学习如何函数工作 in programming.
查阅不认识的术语
新手友好的术语表用大白话解释编程术语——变量、函数、DOM、Promise 等等。
解读错误信息
用大白话解释常见错误——什么意思、为什么发生、如何修复。
动手做项目
通过引导式项目应用所学,含起始代码与解决方案。