Corrected mistakes in the document

pull/216/head
Maxat Oralbayev 4 years ago committed by GitHub
parent 07143be3b7
commit 893beae13b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -489,7 +489,7 @@ console.log(copiedUser)
{name: "Asabeneh", title: "instructor", country: "Finland", city: "Helsinki"} {name: "Asabeneh", title: "instructor", country: "Finland", city: "Helsinki"}
``` ```
#### Spread operator with arrow function #### Spread operator with array function
Whenever we like to write an arrow function which takes unlimited number of arguments we use a spread operator. If we use a spread operator as a parameter, the argument passed when we invoke a function will change to an array. Whenever we like to write an arrow function which takes unlimited number of arguments we use a spread operator. If we use a spread operator as a parameter, the argument passed when we invoke a function will change to an array.

Loading…
Cancel
Save