Skip to content

Commit 2ba491f

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 0002d25 commit 2ba491f

File tree

10 files changed

+14
-14
lines changed

10 files changed

+14
-14
lines changed

lib/node_modules/@stdlib/string/base/capitalize/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 standing'
3131
*
3232
* out = capitalize( 'Hidden Treasures' );
33-
* // returns 'Hidden Treasures';
33+
* // returns 'Hidden Treasures'
3434
*/
3535

3636
// MODULES //

lib/node_modules/@stdlib/string/base/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 'l'
3131
*
3232
* out = first( 'Hidden Treasures', 1 );
33-
* // returns 'H';
33+
* // returns 'H'
3434
*/
3535

3636
// MODULES //

lib/node_modules/@stdlib/string/base/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 'l'
3131
*
3232
* out = first( 'Hidden Treasures', 1 );
33-
* // returns 'H';
33+
* // returns 'H'
3434
*
3535
* out = first( '🐮🐷🐸🐵', 2 );
3636
* // returns '🐮🐷'

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

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

3636
// MODULES //

lib/node_modules/@stdlib/string/base/remove-last-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 'last man standin'
3131
*
3232
* out = removeLast( 'Hidden Treasures', 1 );
33-
* // returns 'Hidden Treasure';
33+
* // returns 'Hidden Treasure'
3434
*
3535
* out = removeLast( '🐮🐷🐸🐵', 2 );
3636
* // returns '🐮🐷'

lib/node_modules/@stdlib/string/base/slice/lib/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@
2929
* var out = slice( 'last man standing', 1, 17 );
3030
* // returns 'ast man standing'
3131
*
32-
* out = removeFirst( 'Hidden Treasures', 0, 6 );
33-
* // returns 'Hidden';
32+
* out = slice( 'Hidden Treasures', 0, 6 );
33+
* // returns 'Hidden'
3434
*/
3535

3636
// MODULES //

lib/node_modules/@stdlib/string/first/lib/index.js

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

lib/node_modules/@stdlib/string/last/lib/index.js

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

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
* // returns 'last man standin'
3131
*
3232
* out = removeLast( 'Hidden Treasures' );
33-
* // returns 'Hidden Treasure';
33+
* // returns 'Hidden Treasure'
3434
*
35-
* out = removeLast( '🐮🐷🐸🐵', 2 ) );
35+
* out = removeLast( '🐮🐷🐸🐵', 2 );
3636
* // returns '🐮🐷'
3737
*/
3838

lib/node_modules/@stdlib/string/to-well-formed/lib/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@
2828
*
2929
* var str = "ab\uD800";
3030
* var newStr = str2wellformed( str );
31-
* // returns ab�
31+
* // returns 'ab�'
3232
*
3333
* str = "ab\uD83D\uDE04c";
3434
* newStr = str2wellformed( str );
35-
* // returns ab😄c
35+
* // returns 'ab😄c'
3636
*
3737
* str = "abc";
3838
* bool = str2wellformed( str );
39-
* // returns abc
39+
* // returns 'abc'
4040
*/
4141

4242
// MODULES //

0 commit comments

Comments
 (0)