PRD for ES3_HW_4 - Sharu2003-27/PRD.ES-and-FP GitHub Wiki
PRD for ES3_HW_4
- Used an arrow function that takes an array of numbers and returns the sum and the difference of the first two elements in the array.
- Consoled it.
- Extracted the first and last characters from a string using an arrow function and consoled it.
- Calculated area of rectangle. extracted length and width from a rectangle object and consoled it.
- Used an arrow function that takes an object with a nested object and extracts information from it.
- Used an array of numbers and returns the product of first two numbers and then subtract the third number from it.
- Created an arrow function that takes an object extracts information from it.
- Called and consoled all an arrow function.