In this article, we will see what the rest parameters and what spread syntax is all about. The example below is a summary of this article. const peopleGrades = (index, ...numbers) => { /* ...rest */ const array = [ ...numbers ]; // ...spread ret...

Markdown supported · ⌘↵ to post
Bello
Sid
I am curious
Ohh. In the last example I thought mydetails will be a nested object of mydatabase object.