Skip to content

Commit 2a4da68

Browse files
committed
fix: fixing the lint error README.md
--- 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: passed - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - 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: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 43a4c4e commit 2a4da68

File tree

1 file changed

+6
-4
lines changed
  • lib/node_modules/@stdlib/symbol/split

1 file changed

+6
-4
lines changed

lib/node_modules/@stdlib/symbol/split/README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,13 @@ var SplitSymbol = require( '@stdlib/symbol/split' );
7979

8080
var obj = {};
8181

82+
function split( str ) {
83+
return str.split( '' );
84+
}
85+
8286
defineProperty( obj, SplitSymbol, {
8387
'configurable': true,
84-
'value': function split( str ) {
85-
return str.split( '' );
86-
}
88+
'value': split
8789
});
8890

8991
console.log( 'hello'.split( obj ) );
@@ -117,4 +119,4 @@ console.log( 'hello'.split( obj ) );
117119

118120
</section>
119121

120-
<!-- /.links -->
122+
<!-- /.links -->

0 commit comments

Comments
 (0)