Skip to content

Commit f996caa

Browse files
Update benchmark.index_of.js
Signed-off-by: Aditya Sapra <[email protected]>
1 parent 6615add commit f996caa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/node_modules/@stdlib/array/fixed-endian-factory/benchmark/benchmark.index_of.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ bench( pkg+':indexOf', function benchmark( b ) {
4242

4343
b.tic();
4444
for ( i = 0; i < b.iterations; i++ ) {
45-
idx = arr.indexOf( 5.0, 0 ); // Start searching from index 0
45+
idx = arr.indexOf( 5.0, 0 );
4646
if ( typeof idx !== 'number' ) {
4747
b.fail( 'should return an integer' );
4848
}

0 commit comments

Comments
 (0)