Skip to content

'undefined' returned instead of undefined in string split with regex #565

@malbarbo

Description

@malbarbo

node and deno evaluates the expression "a ".split(/(d)*/) to [ "a", undefined, " " ], but quickjs-ng evaluates to [ 'a', 'undefined', ' ' ].

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions