Skip to content

[HELP] How do I property access when the property name have symbol in it? #285

@hashfiputra

Description

@hashfiputra

For example in normal JS, I can just do this to access it:

my_variable["my-property"]

I try with expr-eval something like this, it return undefined even though it should not be empty.

parser.evaluate("settings.my_normal_property['my-symbol-property']", { settings: settings })

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