Skip to content

title.replaceAll is not a function #797

@mikealizade

Description

@mikealizade

Relevant code or config:

const urlTitle: string = title.replaceAll(' ', '-');

What you did:

Testing a product list page

What happened:

TypeError: title.replaceAll is not a function

Problem description:

replaceAll function not being recognised, but replace function is fine

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