Skip to content

typeCoercion.js includes BigInt literal without "features: [BigInt]" #1252

Description

@Constellation

New typeCoercion.js includes BigInt literal like 0n. And it causes some test failures like test262/test/built-ins/String/prototype/indexOf/position-tointeger.js if VM does not support BigInt literal.
But test262/test/built-ins/String/prototype/indexOf/position-tointeger.js is essentially unrelated to BigInt.

Since BigInt is new feature, and since typeCoercion.js is not marked with features: [BigInt], BigInt(0) is better way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions