Skip to content

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

@rshinich

Description

@rshinich

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

image

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions