en.javascript.info/1-js/2-first-steps/13-ifelse/6-rewrite-if-else-question/solution.md
Ilya Kantor 3dc3018fd1 works
2016-07-02 18:11:36 +03:00

138 B

let message = (login == 'Employee') ? 'Hello' :
  (login == 'Director') ? 'Greetings' :
  (login == '') ? 'No login' :
  '';