Skip to content

Add test for split with empty string, empty separator, and empty both #131

Description

@brynrhodes

Add tests for Splitting an empty string with a non-empty separator, an non-empty string with an empty separator, and empty string and separator:

''.split(',') // { '' }
'ABC'.split('') // { 'A', 'B', 'C' }
''.split('') // { '' }

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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