{"ScriptPreparationCode":"var schema = {\r\n name: undefined,\r\n password: undefined,\r\n photo: undefined,\r\n role: 1,\r\n level: 1,\r\n resPass: false,\r\n stories: {\r\n \tone: \u0027Hola mundo\u0027,\r\n two: false,\r\n three: false\r\n }\r\n}\r\n\r\nvar user = {\r\n name: \u0022Jacob\u0022,\r\n password: 123,\r\n photo: \u0022img.jpg\u0022,\r\n stories: {\r\n two: \u0022Adios mundo\u0022\r\n }\r\n}","TestCases":[{"Name":"Object.assign","Code":"let objectAssign = Object.assign({}, schema, user);\r\nobjectAssign.stories = Object.assign(schema.stories, user.stories);\r\nconsole.log(objectAssign);","IsDeferred":false},{"Name":"_.defaults","Code":"const defaultsDeep = _.defaultsDeep(schema, user);\r\nconsole.log(defaultsDeep);","IsDeferred":false}]}