Skip to content

Commit

Permalink
fix coding style and grammar
Browse files Browse the repository at this point in the history
  • Loading branch information
shinnn committed Nov 18, 2014
1 parent d4134e8 commit eb73535
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Join all elements of an array and create a human-readable string

```javascript
arrayToSentence(['foo', 'bar', 'baz', 'qux']) //=> 'foo, bar, baz and qux';
arrayToSentence(['foo', 'bar', 'baz', 'qux']); //=> 'foo, bar, baz and qux'
```

## Installation
Expand Down Expand Up @@ -48,7 +48,7 @@ Return: `Array`

It joins all elements of an array, and returns a string in the form `A, B, ... and X`.

*Note that it doesn't supports [serial comma](http://wikipedia.org/wiki/Serial_comma).*
*Note that it doesn't support [serial comma](http://wikipedia.org/wiki/Serial_comma).*

```javascript
arrayToSentence(['one', 'two', 3]); //=> 'one, two and 3'
Expand Down

0 comments on commit eb73535

Please sign in to comment.