Merge pull request #7 from abhijit-hota/master

Refactor: Change template literal to normal string concatenation
This commit is contained in:
Artem Zakharchenko
2021-02-13 01:03:26 +01:00
committed by GitHub

View File

@ -241,7 +241,7 @@ Creates new data from the existing one. Mostly applicable to strings, objects, o
```js
function composePageUrl(pageName, pageId) {
return `${pageName.toLowerCase()}-${pageId}`
return (pageName.toLowerCase() + '-' + pageId)
}
```