Skip to content

Simplify _arrayUnique#11145

Merged
etimberg merged 1 commit intochartjs:masterfrom
Connormiha:optimize-uniq
Feb 15, 2023
Merged

Simplify _arrayUnique#11145
etimberg merged 1 commit intochartjs:masterfrom
Connormiha:optimize-uniq

Conversation

@Connormiha
Copy link
Contributor

I just simplified creating unique array. Set supports initial array in constructor. So we don't need use special iteration.
I think this solution was made to support Internet Explorer(which not support initial array).

@etimberg etimberg added this to the Version 4.3.0 milestone Feb 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants