Spread operator clones enumerables properties
Spread operator does a shallow clone of only enumerable properties. Non-enumerable properties such as prototype will not be cloned.
No reactions yet
Spread operator does a shallow clone of only enumerable properties. Non-enumerable properties such as prototype will not be cloned.