PRD for ES3_HW_3 - Sharu2003-27/PRD.ES-and-FP GitHub Wiki
PRD for ES3_HW_3
- Created a copy an array and appends a new element using spread operator.
- "Spread operator" is denoted by "...spread".
- Spread operator (...) is a method to expand, copy, or merge values. it is used with arrays, strings, and objects, which are iterables.
- Created a copy of an object with adds and modified properties using the spread operator.
- Merged two or three arrays using spread operator.
- Merged two or three objects using spread operator.