We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc34ad7 commit 8e64d29Copy full SHA for 8e64d29
README.md
@@ -162,7 +162,7 @@ The composition of two or more functions returns a new function.
162
const compose = (f,g) => x => f(g(x));
163
164
const toUpperCase = x => x.toUpperCase();
165
-const exclaim = x => x + '!';
+const exclaim = x => `${x}!`;
166
167
const angry = compose(exclaim, toUpperCase);
168
@@ -176,8 +176,8 @@ angry("stop this");
176
177
178
179
180
-const moreExclaim = x => x + '!!!!!';
+const moreExclaim = x => `${x}!!!!!`;
181
182
const reallyAngry = compose(exclaim, compose(toUpperCase, moreExclaim));
183
0 commit comments