summary refs log tree commit diff stats
path: root/javascript/two-fer/two-fer.js
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2021-08-25 22:59:37 +0530
committerAndinus <andinus@nand.sh>2021-08-25 22:59:37 +0530
commit16f7aba7ef1b48d940bca66adb59d10527b885e8 (patch)
treedf25e9a05b3d67922ae8c283b0aacb1d06484ef1 /javascript/two-fer/two-fer.js
parent00ca21200f8ab83e2614c7607e8617966f36ea50 (diff)
downloadexercism-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.js2
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.`
 };