Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

arrays.flat #44

Closed
3 tasks done
evanplaice opened this issue Sep 17, 2019 · 1 comment
Closed
3 tasks done

arrays.flat #44

evanplaice opened this issue Sep 17, 2019 · 1 comment
Labels
enhancement New feature or request operator

Comments

@evanplaice
Copy link
Member

evanplaice commented Sep 17, 2019

Notice: The existing implementation doesn't match spec. Feel free to use it or trash it.

The flat() method creates a new array with all sub-array elements concatenated into it recursively up to the specified depth.

Checklist

  • implementation
  • tests
  • jsdoc

Details

Should this be implemented iteratively or recursively. Study the MDN documentation in more depth before implementing.

References

@evanplaice evanplaice added enhancement New feature or request operator labels Sep 17, 2019
@evanplaice evanplaice self-assigned this Nov 5, 2019
@evanplaice evanplaice added hold Implementation on hold and removed up-for-grabs labels Nov 5, 2019
@evanplaice evanplaice added up-for-grabs and removed hold Implementation on hold labels Nov 22, 2019
@evanplaice evanplaice removed their assignment Nov 22, 2019
@evanplaice
Copy link
Member Author

evanplaice commented Nov 27, 2019

Added in v0.42

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request operator
Projects
None yet
Development

No branches or pull requests

1 participant