How to cloning two object in one ? I tried Object.assign() but doesn't worked.
I have this : this.props.firstLetter[i]
the return of that on my console is :
This two objects I would like to create one big object of these two.
With Object.assign()
, I tried this : Object.assign(this.props.firstLetter[i])
, but the result of them is only one entry, the last only.
You have solution ?
Please.
EDIT 17/12/2017 :
Create array, and push those two object