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