diff options
author | Andinus <andinus@nand.sh> | 2021-08-25 22:59:37 +0530 |
---|---|---|
committer | Andinus <andinus@nand.sh> | 2021-08-25 22:59:37 +0530 |
commit | 16f7aba7ef1b48d940bca66adb59d10527b885e8 (patch) | |
tree | df25e9a05b3d67922ae8c283b0aacb1d06484ef1 /javascript/two-fer/two-fer.js | |
parent | 00ca21200f8ab83e2614c7607e8617966f36ea50 (diff) | |
download | exercism-16f7aba7ef1b48d940bca66adb59d10527b885e8.tar.gz |
JS: Use template literals in two-fer
Diffstat (limited to 'javascript/two-fer/two-fer.js')
-rw-r--r-- | javascript/two-fer/two-fer.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/javascript/two-fer/two-fer.js b/javascript/two-fer/two-fer.js index 2349ad7..cb896a3 100644 --- a/javascript/two-fer/two-fer.js +++ b/javascript/two-fer/two-fer.js @@ -1,3 +1,3 @@ export const twoFer = (name = "you") => { - return "One for " + name + ", one for me."; + return `One for ${name}, one for me.` }; |