javascript-tutorial / javascript-tutorial/zh.javascript.info

形参(parameter)与实参(argument)的中文翻译不当

Open
#1,175 3 comments 0 reactions 0 assignees View on GitHub
help wanted
Dominant language
HTML
Stars
10.8k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

在「函数」一章中的「参数」小节中:

image

在中文翻译下,形参(parameter)与实参(argument)统一被翻译成了“参数”,可能会引起误解。
包括后边的介绍部分:

> 我们声明函数时列出它们的参数(parameters),然后调用它们传递参数(arguments)。
> 在上面的例子中,我们可以说:“函数 showMessage 被声明,并且带有两个参数(parameters),随后它被调用,两个参数(arguments)分别为 from 和 "Hello"”。

Contributor guide

No contributing guide indexed for this repository

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.