PawsonCz

Untitled

Sep 11th, 2020
777
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const days = ['poniedziałek', 'wtorek', 'środa', 'czwartek', 'piątek', 'sobota', 'niedziela'];
  2. weekDays = days.join('-');
  3. console.log(weekDays)
  4. var weekDays = prompt('podaj dzień tygodnia ')
  5.  
  6. console.log(weekDays == 'sobota' || weekDays == 'niedziela' ? 'mamy weekend' :  'hm... trza pracować' )
RAW Paste Data