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

array.slice() 말고 object를 shallow copy하는 방법은 무엇인가요? #5

Open
MartianLee opened this issue Jul 2, 2020 · 1 comment

Comments

@MartianLee
Copy link
Owner

기본 함수중에 deep copy하는 함수도 있는지 궁금합니다.

@MartianLee
Copy link
Owner Author

  1. Spread Operator
  2. Good Old for() Loop
  3. Array.map 외 array methods (filter, reduce ..)

출처

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant