Skip to content

Callback functions are not checked for strict mode #86

@pvginkel

Description

@pvginkel

Not all callback functions are checked for strict mode. When the function itself is strict, we shouldn't pass global as the this parameter, but undefined instead. This should be implemented generically. Currently String.replace does this correctly, but that logic should be moved elsewhere.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions