Is Weekend Function
Create a function
isWeekend
that takes a day name as a string (like "Monday", "Saturday", etc.) and returns true
if it's "Saturday" or "Sunday", and false
otherwise.Premium
JavaScript
Console