PRD for CB_HW - Sharu2003-27/PRD.ES-and-FP GitHub Wiki
PRD for CB_HW
- Created a function that taken parameter and one more callback as parameter.
- Used the created function to use the callback function to display a message.
- Used if-else condition and based on condition displayed a output.
- Converted the given code into an ES6 code (Arrow Functions).
- Created a function that taken array and a callback as parameters. then created function used for-loop to iterated over each element in the array.
- Applied the callback function to each element.
- Used given array for getting output.