Skip to content

mangle-props replaces location.href with location.a #772

@ghost

Description

Hello,

parameter: uglify --compress --mangle --mangle-props -o xyz.min.js xyz.js
Installed on 2015-08-13 with npm install uglify-js -g

It seems to me that reserved words are replaced too. I've tried both:
location.href -> location.a
window.location.href -> window.location.a

Did I do something wrong?

Michael

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions