1 min readApr 15, 2019
Nice article Serdar!
To answer your question, I like the spread operator the most. Especially the part that it is easy to either provide defaults or override properties:
const clone = {
age: 30, // if person has no age use 30
...person,
name: 'Robin' // name will always be Robin
};
Looking forward to your next article!