Skip to content

PerformEval should be modified to use xStr for the rest of the algorithm #21

Closed
@fred-wang

Description

@fred-wang

See https://tc39.es/proposal-dynamic-code-brand-checks/#sec-performeval
We determine a xStr value that we use for HostEnsureCanCompileStrings.

However, the x value is also used at step 11)a) of https://tc39.es/ecma262/#sec-performeval

Let script be ParseText(x, Script).

I assume the intention is to use xStr here too?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions