Ad
Code
Diff
  • const greetLanguage = (a,b) => (a||'Hello')+', '+(b||'Javascript')+'!';
    • const greetLanguage = (a = "Hello", b = "Javascript") => `${a}, ${b}!`
    • const greetLanguage = (a,b) => (a||'Hello')+', '+(b||'Javascript')+'!';