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

PRD for ES3_HW_8

  • Created an arrow function.
  • Inside an arrow function used template literals to display output.
  • Inside an arrow function used template literals and ternary operator to display a message based on a given condition.
  • Used Syntax for ternary operator- "(condition) ? true-value : false-value"
  • Consoled it to displaying output.