This commit is contained in:
Ilya Kantor 2020-06-01 09:16:59 +03:00
parent 69e44506c3
commit 479c7f908a

View file

@ -227,7 +227,7 @@ So, for the task of turning something into an array, `Array.from` tends to be mo
## Get a new copy of an array/object
Remember when we talked about `Object.assign()` [in the past](https://javascript.info/object#cloning-and-merging-object-assign)?
Remember when we talked about `Object.assign()` [in the past](info:object-copy#cloning-and-merging-object-assign)?
It is possible to do the same thing with the spread syntax.