Skip to content

Commit c3b36d8

Browse files
authored
Apply suggestions from code review
Signed-off-by: Athan <[email protected]>
1 parent 665d6cb commit c3b36d8

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

lib/node_modules/@stdlib/array/fixed-endian-factory/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,6 @@ var count = context.count;
386386
// returns 3
387387
```
388388

389-
390389
<a name="method-for-each"></a>
391390

392391
#### TypedArrayFE.prototype.forEach( callbackFn\[, thisArg] )

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ var Float64ArrayFE = factory( 'float64' );
4545
* @returns {boolean} boolean indicating whether a value passes a test
4646
*/
4747
function predicate( value ) {
48-
return value > 0;
48+
return value >= 0;
4949
}
5050

5151
/**
@@ -106,7 +106,7 @@ function main() {
106106
for ( i = min; i <= max; i++ ) {
107107
len = pow( 10, i );
108108
f = createBenchmark( len );
109-
bench( pkg+':forEach:len='+len, f );
109+
bench( pkg+':every:len='+len, f );
110110
}
111111
}
112112

lib/node_modules/@stdlib/array/fixed-endian-factory/test/test.every.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ tape( 'the method throws an error if provided a first argument which is not a fu
115115
}
116116
});
117117

118-
tape( 'the method returns `true` if operating on an empty boolean array', function test( t ) {
118+
tape( 'the method returns `true` if operating on an empty array', function test( t ) {
119119
var bool;
120120
var ctor;
121121
var arr;

0 commit comments

Comments
 (0)