+
Skip to content

just-clone question about cloning regexp #592

@pangxie231

Description

@pangxie231

I saw the following code

if (typeof regExp.source.flags == 'string') { return regExp.source.flags; }

But shouldn't source just be a string? Will it have a flags attribute?
I hope someone can answer my question, thank you very much

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

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载