Skip to content

Commit 5b59394

Browse files
committed
Auto-generated commit
1 parent 511cd0a commit 5b59394

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

benchmark/benchmark.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ function createBenchmark( fcn, len ) {
7272
for ( i = 0; i < b.iterations; i++ ) {
7373
x[ len-1 ] += 1;
7474
bool = fcn( x );
75-
if ( !isBoolean( bool ) ) {
75+
if ( typeof bool !== 'boolean' ) {
7676
b.fail( 'should return a boolean' );
7777
}
7878
}

lib/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@
4141

4242
// MODULES //
4343

44-
var arraylikefcn = require( './main.js' );
44+
var main = require( './main.js' );
4545

4646

4747
// EXPORTS //
4848

49-
module.exports = arraylikefcn;
49+
module.exports = main;

0 commit comments

Comments
 (0)