Skip to content

Use Array.flat()#110189

Merged
mjbvz merged 1 commit intomicrosoft:masterfrom
dsanders11:use-array-flat
Nov 9, 2020
Merged

Use Array.flat()#110189
mjbvz merged 1 commit intomicrosoft:masterfrom
dsanders11:use-array-flat

Conversation

@dsanders11
Copy link
Member

Use Array.flat() in markdown-language-features extension and drop the util.

I believe they should be functionally equivalent and so this should be safe. I tested a few cases by hand, and I also ran the existing implementation (which is removed in this PR) against the Test262 conformance tests for the functional aspects and it produced the same results.

Copy link

@rheh rheh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mjbvz mjbvz added this to the November 2020 milestone Nov 9, 2020
@mjbvz mjbvz merged commit fcef0e3 into microsoft:master Nov 9, 2020
@mjbvz
Copy link
Collaborator

mjbvz commented Nov 9, 2020

Thanks!

@github-actions github-actions bot locked and limited conversation to collaborators Dec 24, 2020
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.

3 participants