... Three points in react

Hi,
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.
Thanks.

1 Like