Merge pull request #84 from chety/patch-1

Update 02_day_data_types.md
pull/91/head
Asabeneh 4 years ago committed by GitHub
commit 233fe17cf0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -685,7 +685,7 @@ console.log(country.startsWith('fin')) // false
console.log(country.startsWith('land')) // false
```
17. *endsWith*: it takes a substring as an argument and it checks if the string starts with that specified substring. It returns a boolean(true or false).
17. *endsWith*: it takes a substring as an argument and it checks if the string ends with that specified substring. It returns a boolean(true or false).
```js
string.endsWith(substring)

Loading…
Cancel
Save