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

https://edu.duthanhduoc.com/learn/ReactJs-Super?lessonId=5 #86

Open
utterances-bot opened this issue Jan 4, 2025 · 2 comments
Open

Comments

@utterances-bot
Copy link

Khu vực học tập | Được Edu

Được chỉ cung cấp các khóa học lập trình online chất lượng, nói không với khóa lởm!

https://edu.duthanhduoc.com/learn/ReactJs-Super?lessonId=5

Copy link

shallow clone copy các thuộc tính, giá trị của obj khác rồi tạo 1 obj độc lập tạo ra 1 ô nhớ mới cho thằng obj cấp 1 thôi phải ko ạ

@duthanhduoc
Copy link
Contributor

shallow clone copy các thuộc tính, giá trị của obj khác rồi tạo 1 obj độc lập tạo ra 1 ô nhớ mới cho thằng obj cấp 1 thôi phải ko ạ

Đơn giản là shallow clone là copy 1 level, còn deep là tất cả level bên trong object. Vậy cho dễ em

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

3 participants