Skip to content

Commit 22ca0c5

Browse files
committed
fix: fixing the lint error
--- 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: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 51a692e commit 22ca0c5

File tree

1 file changed

+5
-3
lines changed
  • lib/node_modules/@stdlib/symbol/split/lib

1 file changed

+5
-3
lines changed

lib/node_modules/@stdlib/symbol/split/lib/main.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,13 @@ var hasSplitSymbolSupport = require( '@stdlib/assert/has-split-symbol-support' )
3535
* @example
3636
* var obj = {};
3737
*
38+
* function split( str ) {
39+
* return str.split( '' );
40+
* }
41+
*
3842
* defineProperty( obj, SplitSymbol, {
3943
* 'configurable': true,
40-
* 'value': function split( str ) {
41-
* return str.split( '' );
42-
* }
44+
* 'value': split
4345
* });
4446
*
4547
* var result = 'hello'.split( obj );

0 commit comments

Comments
 (0)