We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bef09ec commit c392d9dCopy full SHA for c392d9d
benchmark/benchmark.js
@@ -64,7 +64,7 @@ function createBenchmark( len ) {
64
b.tic();
65
for ( i = 0; i < b.iterations; i++ ) {
66
bool = isBinaryString( str + (i%10) );
67
- if ( !isBoolean( bool ) ) {
+ if ( typeof bool !== 'boolean' ) {
68
b.fail( 'should return a boolean' );
69
}
70
0 commit comments