Skip to content

Conversation

ivogabe
Copy link
Contributor

@ivogabe ivogabe commented Aug 9, 2014

Return value of String.match should have an optional index and input property, so I created an interface that adds these properties and extends string[]. Also RegExpExecArray should extend string[] instead of copying all the members of Array. Fixes #184

@mhegazy
Copy link
Contributor

mhegazy commented Aug 9, 2014

👍

mhegazy added a commit that referenced this pull request Aug 11, 2014
RegExp function return types
@mhegazy mhegazy merged commit 851e335 into microsoft:master Aug 11, 2014
@ivogabe ivogabe deleted the regexp branch August 11, 2014 18:29
@microsoft microsoft locked and limited conversation to collaborators Jun 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Return value of String.match has an index property
2 participants