From d9d1023281bd298984ff7615f0c98fb7bc557fb4 Mon Sep 17 00:00:00 2001 From: Mustafa Kemal Tuna <12192118+lumosmind@users.noreply.github.com> Date: Mon, 8 Mar 2021 15:43:00 +0300 Subject: [PATCH] spread operator vs spread syntax it should be spread syntax https://javascript.info/rest-parameters-spread --- 1-js/04-object-basics/02-object-copy/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/04-object-basics/02-object-copy/article.md b/1-js/04-object-basics/02-object-copy/article.md index 52af1bdc59..55ed4a1a8a 100644 --- a/1-js/04-object-basics/02-object-copy/article.md +++ b/1-js/04-object-basics/02-object-copy/article.md @@ -186,7 +186,7 @@ let clone = Object.assign({}, user); It copies all properties of `user` into the empty object and returns it. -There are also other methods of cloning an object, e.g. using the [spread operator](info:rest-parameters-spread) `clone = {...user}`, covered later in the tutorial. +There are also other methods of cloning an object, e.g. using the [spread syntax](info:rest-parameters-spread) `clone = {...user}`, covered later in the tutorial. ## Nested cloning