Skip to content

Commit 5fd59e7

Browse files
committed
Auto-generated commit
1 parent c91cb88 commit 5fd59e7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
'use strict';
2020

2121
/**
22-
* Remove the last character of a string.
22+
* Remove the last character(s) of a string.
2323
*
2424
* @module @stdlib/string-remove-last
2525
*
@@ -32,8 +32,8 @@
3232
* out = removeLast( 'Hidden Treasures' );
3333
* // returns 'Hidden Treasure';
3434
*
35-
* out = removeLast( '🐮🐷🐸🐵', '🐵' ) );
36-
* // returns '🐮🐷🐸'
35+
* out = removeLast( '🐮🐷🐸🐵', 2 ) );
36+
* // returns '🐮🐷'
3737
*/
3838

3939
// MODULES //

0 commit comments

Comments
 (0)