There are an array of values, but after it opened is empty console.log

Like this happens, it may be the depth of copies of the issue, this time as long as the assignment into a deep copy, may solve the problem
`newObj = deep (obj)

deep(obj) {
	let objName1 = JSON.stringify(obj),
          objName2 = JSON.parse(objName1;
     return objName2
}`

Guess you like

Origin blog.csdn.net/weixin_43565820/article/details/90081687