Skip to content

Commit

Permalink
add string.capitalize
Browse files Browse the repository at this point in the history
  • Loading branch information
andrii.kovalenko committed Nov 26, 2018
1 parent 5354769 commit 0b3b200
Show file tree
Hide file tree
Showing 4 changed files with 11,943 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -47,6 +47,7 @@ So my intention is to extend "native" JS API with methods we often find missing.
### String

`<string>.isURI()` - returns Bool `true` if string is a valid URI
`<string>.capitalize()` - returns a *new* capitalized string ("hello world".capitalize() => "Hello world")

### Array
`<array>.first` - is a readonly property which returns first element of an array or `undefined` if array is empty
Expand Down

0 comments on commit 0b3b200

Please sign in to comment.