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
commit c6ef982c31
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)
}
```