Skip to content

Object literal treatment under ADVANCED_OPTIMIZATION is not clear #975

Open
@gonzojive

Description

@gonzojive

It's unclear how object literals are treated under ADVANCED_OPTIMIZATION. The tutorial page that explains ADVANCED_OPTIMIZATION is incomplete.

I believe the following code does not preserve the 'preserveMe' property:

var x = {preserveMe: false};

However, this code does:

var x = {'preserveMe': false};

Please clarify the compilation semantics in the docs.

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