8000 Auto-generated commit · stdlib-js/array-from-iterator@8b4b9a0 · GitHub
[go: up one dir, main page]

Skip to content
Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 8b4b9a0

Browse files
committed
Auto-generated commit
1 parent b202227 commit 8b4b9a0

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/.keepalive

Lines changed: 0 additions & 1 deletion
This file was deleted.

benchmark/benchmark.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ bench( pkg, function benchmark( b ) {
3939
b.tic();
4040
for ( i = 0; i < b.iterations; i++ ) {
4141
arr = iterator2array( values );
42-
if ( !isArray( arr ) ) {
42+
if ( typeof out !== 'object' ) {
4343
b.fail( 'should return an array' );
4444
}
4545
}
@@ -61,7 +61,7 @@ bench( pkg+'::map', function benchmark( b ) {
6161
b.tic();
6262
for ( i = 0; i < b.iterations; i++ ) {
6363
arr = iterator2array( values, transform );
64-
if ( !isArray( arr ) ) {
64+
if ( typeof out !== 'object' ) {
6565
b.fail( 'should return an array' );
6666
}
6767
}
@@ -89,7 +89,7 @@ bench( pkg+'::fill', function benchmark( b ) {
8989
b.tic();
9090
for ( i = 0; i < b.iterations; i++ ) {
9191
arr = iterator2array( values, out );
92-
if ( !isArray( arr ) ) {
92+
if ( typeof out !== 'object' ) {
9393
b.fail( 'should return an array' );
9494
}
9595
}
@@ -113,7 +113,7 @@ bench( pkg+'::map,fill', function benchmark( b ) {
113113
b.tic();
114114
for ( i = 0; i < b.iterations; i++ ) {
115115
arr = iterator2array( values, out, transform );
116-
if ( !isArray( arr ) ) {
116+
if ( typeof out !== 'object' ) {
117117
b.fail( 'should return an array' );
118118
}
119119
}

0 commit comments

Comments
 (0)
0