Skip to content

Mutations of aliased globals are not tracked #893

@Rich-Harris

Description

@Rich-Harris

This doesn't work:

var _window = window;

window.foo = 1;
_window.bar = 2;

Only the window.foo = 1 side-effect is preserved.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions