Skip to content

Commit 4b930bd

Browse files
authored
Merge pull request #195 from dondencker/master
Fixed minor documentation error
2 parents adc2e9d + fc26a22 commit 4b930bd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,7 @@ Returns an array of strings, split from the left at `sep`. Performs at most `max
703703
Example:
704704

705705
```javascript
706-
S('This is all very fun').splitRight(' '); // ['THis', 'built', 'this', 'city'];
706+
S('This is all very fun').splitRight(' '); // ['This', 'is', 'all', 'very', 'fun'];
707707
S('and I could do it forever').splitRight(' ', 1); // ['and I could do it', 'forever'];
708708
S('but nothing matters in the end.').splitRight(' ', -1, 2); // ['the', 'end.'];
709709
S('but nothing matters in the end.').splitRight(' ', 4, -2); // ['but nothing', 'matters'];

0 commit comments

Comments
 (0)