Skip to content

Commit 0998e61

Browse files
committed
Apply template strings [Pt-Br]
1 parent 8e64d29 commit 0998e61

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

translations/pt-BR/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ A composição de duas ou mais funções retornando uma nova função.
158158
const compose = (f,g) => x => f(g(x));
159159

160160
const toUpperCase = x => x.toUpperCase();
161-
const exclaim = x => x + '!';
161+
const exclaim = x => `${x}!`;
162162

163163
const angry = compose(exclaim, toUpperCase);
164164

@@ -172,8 +172,8 @@ angry("stop this");
172172
const compose = (f,g) => x => f(g(x));
173173

174174
const toUpperCase = x => x.toUpperCase();
175-
const exclaim = x => x + '!';
176-
const moreExclaim = x => x + '!!!!!';
175+
const exclaim = x => `${x}!`;
176+
const moreExclaim = x => `${x}!!!!!`;
177177

178178
const reallyAngry = compose(exclaim, compose(toUpperCase, moreExclaim));
179179

0 commit comments

Comments
 (0)