diff --git a/index.js b/index.js index 24cd47e..6b10f38 100644 --- a/index.js +++ b/index.js @@ -1,3 +1,6 @@ const greet = (name) => { return `Hey ${name}!`; -} \ No newline at end of file +} + +// if number of argumnt is one, () can be eliminated with impilict return +const greet = name => `Hey ${name}!`;