PRD for ES3_HW_3 - Sharu2003-27/PRD.ES-and-FP GitHub Wiki

PRD for ES3_HW_3

  1. Created a copy an array and appends a new element using spread operator.
  2. "Spread operator" is denoted by "...spread".
  3. Spread operator (...) is a method to expand, copy, or merge values. it is used with arrays, strings, and objects, which are iterables.
  4. Created a copy of an object with adds and modified properties using the spread operator.
  5. Merged two or three arrays using spread operator.
  6. Merged two or three objects using spread operator.