... Three points in react

Someone can explain exactly what is three point “const exam = {…data};” for example, or […data],
I can understand that it’s take the values from data and entry them into the in carly braces it’s take an object and in [], it’s take the value from the array.
But if someone understand it’s better I will be happy to know.

1 Like