Skip to content

Error with returnValue including string "$1" (using eval) #61

@MartinAcosta-dev

Description

@MartinAcosta-dev

I'm having an error when the returnValue includes the string "$1". The replace function (using eval) converts every occurrence of this to the string "window.".

I can modify the regex deleting the capturing group and the problem is solved, but i don't know why are these capturing groups used in a first place.

Thanks!

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