Create an arrow function which takes date as input parameter and returns whether that is a week day or not. Return “Hey this is a weekday” if given date is a weekday, otherwise return “Please check your date” if it is not a weekday.
Answers
Answered by
0
Answer:
haushcsgsisus
Explanation:
sry i m doing this for point
Answered by
0
Answer:
Arrow functions, introduced in ES6, provides a concise way to write functions in JavaScript.
Another significant advantage it offers is the fact that it does not bind its own this. In other words, the context inside arrow functions is lexically or statically defined
Similar questions