Skip to content

Commit 423f513

Browse files
authored
refactor: template literal to normal string concatenation
1 parent 96dea1d commit 423f513

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ Creates new data from the existing one. Mostly applicable to strings, objects, o
210210

211211
```js
212212
function composePageUrl(pageName, pageId) {
213-
return `${pageName.toLowerCase()}-${pageId}`
213+
return (pageName.toLowerCase() + '-' + pageId)
214214
}
215215
```
216216

0 commit comments

Comments
 (0)