Skip to content

calling eval indirectly does not reflect globally #563

@kyriosli

Description

@kyriosli

We know that eval does not touch the local variable if it is called indirectly, for example:

(function(Math) { return (0,eval)("Math") })(1234)
// returns global.Math

and this did not work properly in v7.

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