Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
next test
(version: 0)
Comparing performance of:
1 vs 2 vs 3
Created:
3 years ago
by:
Guest
Jump to the latest result
Script Preparation code:
var newArr = ['1', '2', '3', '4'];
Tests:
1
Boolean(newArr.length) && 1
2
!!newArr.length && 1
3
newArr.length > 0 && 1
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (3)
Previous results
Fork
Test case name
Result
1
2
3
Fastest:
N/A
Slowest:
N/A
Latest run results:
No previous run results
This benchmark does not have any results yet. Be the first one
to run it!
Related benchmarks:
Boolean vs !!3
Check mytest
comparison with 0 vs !!
! x !!!
Comments
Confirm delete:
Do you really want to delete benchmark?