From 9e82d9d75a8467f303671f71f4630963584797b1 Mon Sep 17 00:00:00 2001 From: evabth <97984540+evabth@users.noreply.github.com> Date: Sun, 25 Jun 2023 19:58:48 -0400 Subject: [PATCH] Update 08_day_objects.md clarifies the method description of Object.assign, mainly to clarify that it makes shallow copies, also to clarify what each parameter is for the assign method --- 08_Day_Objects/08_day_objects.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/08_Day_Objects/08_day_objects.md b/08_Day_Objects/08_day_objects.md index 69f5dc4..280e88d 100644 --- a/08_Day_Objects/08_day_objects.md +++ b/08_Day_Objects/08_day_objects.md @@ -358,7 +358,7 @@ He teaches HTML, CSS, JavaScript, React, Node, MongoDB, Python, D3.js, Meteor, a There are different methods to manipulate an object. Let us see some of the available methods. -_Object.assign_: To copy an object without modifying the original object +_Object.assign(target, ...sources)_: Creates shallow copies of key value pairs that are then added to the target object without modifying the original object ```js const person = {