Ad
Code
Diff
  • const sayHello = (input='World') => `Hello ${input}!`
      
    
    • function sayHello(input) {
    • return !input ? "Hello World!" : "Hello " + input + "!"
    • };
    • const sayHello = (input='World') => `Hello ${input}!`