Skip to content

getOutVarNames获取到的变量名称建议优化一下 #425

@topcloud-xx

Description

@topcloud-xx

程序代码:

function sub(a, b) {
return a-b;
}
x = 3;
y = 2;
return sub(x, y);

getOutVarNames获取到的变量名称是"a","b"。
通常情况下,我希望获取到的是的变量不包含内部function的参数。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions