Travis build: 1059

This commit is contained in:
30secondsofcode
2018-01-06 11:55:10 +00:00
parent 63d63b6262
commit e16105e319
5 changed files with 56 additions and 5 deletions

View File

@ -5,11 +5,11 @@ Checks if a string is upper case.
Convert the given string to upper case, using `String.toUpperCase()` and compare it to the original.
``` js
```js
const isUpperCase = str => str === str.toUpperCase();
```
``` js
```js
isUpperCase('ABC'); // true
isLowerCase('A3@$'); // true
isLowerCase('aB4'); // false