Skip to content

Unable to access arguments in eval inside an arrow method #1209

@aneeshdk

Description

@aneeshdk
function f3(a) {
    b = () => eval("arguments[0]");
    print(b()); // Should print 1
}
f3(1);

This throws an error saying arguments is undefined

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions