Skip to content

Commit c6ef982

Browse files
authored
Merge pull request #7 from abhijit-hota/master
Refactor: Change template literal to normal string concatenation
2 parents 97fba45 + 423f513 commit c6ef982

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
@@ -241,7 +241,7 @@ Creates new data from the existing one. Mostly applicable to strings, objects, o
241241

242242
```js
243243
function composePageUrl(pageName, pageId) {
244-
return `${pageName.toLowerCase()}-${pageId}`
244+
return (pageName.toLowerCase() + '-' + pageId)
245245
}
246246
```
247247

0 commit comments

Comments
 (0)