Skip to content

Commit 067495a

Browse files
committed
chore: fix JavaScript lint errors (issue #10501)
--- 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 56193c7 commit 067495a

File tree

2 files changed

+3
-3
lines changed
  • lib/node_modules/@stdlib

2 files changed

+3
-3
lines changed

lib/node_modules/@stdlib/bigint/ctor/examples/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
'use strict';
2020

2121
var hasBigIntSupport = require( '@stdlib/assert/has-bigint-support' );
22-
var BigInt = require( './../lib' );
22+
var BigInt = require( '@stdlib/bigint/ctor' );
2323

2424
var v;
2525

lib/node_modules/@stdlib/utils/memoize/lib/main.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,9 @@ function memoize( fcn, hashFunction ) {
8787
var out;
8888
var key;
8989
var i;
90-
args = new Array( arguments.length );
90+
args = [];
9191
for ( i = 0; i < arguments.length; i++ ) {
92-
args[ i ] = arguments[ i ];
92+
args.push( arguments[ i ] );
9393
}
9494
key = toKey( args ).toString();
9595
if ( hasOwnProp( cache, key ) ) {

0 commit comments

Comments
 (0)