javascript-tutorial / javascript-tutorial/zh.javascript.info
形参(parameter)与实参(argument)的中文翻译不当
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 10.8k
- Forks
- 1.2k
- PR merge metrics
- No merged PRs in 30d
Description
在「函数」一章中的「参数」小节中:
在中文翻译下,形参(parameter)与实参(argument)统一被翻译成了“参数”,可能会引起误解。
包括后边的介绍部分:
> 我们声明函数时列出它们的参数(parameters),然后调用它们传递参数(arguments)。
> 在上面的例子中,我们可以说:“函数 showMessage 被声明,并且带有两个参数(parameters),随后它被调用,两个参数(arguments)分别为 from 和 "Hello"”。
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in the Chinese translation of the JavaScript tutorial’s “函数” chapter, “参数” subsection, and review the wording shown in the issue. Distinguish parameter (形参) from argument (实参) throughout the subsection and its introductory explanation; done means the terminology is consistent and no longer ambiguous.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- documentation, localization
- Issue type
- Documentation
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100