Skip to content

Commit 3d2f3c7

Browse files
committed
docs: clean-up example code
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: na - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 2ba491f commit 3d2f3c7

File tree

17 files changed

+21
-21
lines changed

17 files changed

+21
-21
lines changed

lib/node_modules/@stdlib/string/base/last-code-point/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
* // returns 'd'
3131
*
3232
* out = last( 'अनुच्छेद', 1 );
33-
* // returns 'द';
33+
* // returns 'द'
3434
*/
3535

3636
// MODULES //

lib/node_modules/@stdlib/string/base/last-grapheme-cluster/lib/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@
2727
* var last = require( '@stdlib/string/base/last-grapheme-cluster' );
2828
*
2929
* var out = last( 'Hello', 1 );
30-
* // returns 'o';
30+
* // returns 'o'
3131
*
32-
* out = last( 'JavaScript', 1 );
33-
* // returns 'Script';
32+
* out = last( 'JavaScript', 6 );
33+
* // returns 'Script'
3434
*
3535
* out = last( '🐮🐷🐸🐵', 2 );
36-
* // returns '🐸🐵';
36+
* // returns '🐸🐵'
3737
*/
3838

3939
// MODULES //

lib/node_modules/@stdlib/string/base/remove-first-code-point/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
* // returns 'ast man standing'
3131
*
3232
* out = removeFirst( 'Hidden Treasures', 1 );
33-
* // returns 'idden Treasures';
33+
* // returns 'idden Treasures'
3434
*/
3535

3636
// MODULES //

lib/node_modules/@stdlib/string/base/remove-first-grapheme-cluster/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
* // returns 'ast man standing'
3131
*
3232
* out = removeFirst( 'Hidden Treasures', 1 );
33-
* // returns 'idden Treasures';
33+
* // returns 'idden Treasures'
3434
*
3535
* out = removeFirst( '🐮🐷🐸🐵', 2 );
3636
* // returns '🐸🐵'

lib/node_modules/@stdlib/string/base/remove-first/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
* // returns 'ast man standing'
3131
*
3232
* out = removeFirst( 'Hidden Treasures', 1 );
33-
* // returns 'idden Treasures';
33+
* // returns 'idden Treasures'
3434
*/
3535

3636
// MODULES //

lib/node_modules/@stdlib/string/base/remove-last-code-point/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
* // returns 'last man standin'
3131
*
3232
* out = removeLast( 'Hidden Treasures', 1 );
33-
* // returns 'Hidden Treasure';
33+
* // returns 'Hidden Treasure'
3434
*/
3535

3636
// MODULES //

lib/node_modules/@stdlib/string/base/remove-last/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
* // returns 'last man standin'
3131
*
3232
* out = removeLast( 'Hidden Treasures', 1 );
33-
* // returns 'Hidden Treasure';
33+
* // returns 'Hidden Treasure'
3434
*/
3535

3636
// MODULES //

lib/node_modules/@stdlib/string/base/replace-after/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
* // returns 'beep bobar'
3636
*
3737
* var out = replaceAfter( 'beep boop', ' ', 'foo', 5 );
38-
* // returns 'beep foo'
38+
* // returns 'beep boop'
3939
*
4040
* var out = replaceAfter( 'beep boop beep baz', 'beep', 'foo', 5 );
4141
* // returns 'beep boop beepfoo'

lib/node_modules/@stdlib/string/base/reverse-code-points/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
* // returns 'gnidnats nam tsal'
3131
*
3232
* out = reverse( 'Hidden Treasures' );
33-
* // returns 'serusaerT neddiH';
33+
* // returns 'serusaerT neddiH'
3434
*/
3535

3636
// MODULES //

lib/node_modules/@stdlib/string/base/reverse-grapheme-clusters/lib/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
* // returns 'gnidnats nam tsal'
3131
*
3232
* out = reverse( 'Hidden Treasures' );
33-
* // returns 'serusaerT neddiH';
33+
* // returns 'serusaerT neddiH'
3434
*
3535
* out = reverse( '🐶🐮🐷🐰🐸' );
3636
* // returns '🐸🐰🐷🐮🐶'

0 commit comments

Comments
 (0)