Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
JS test gareko hai 3
(version: 0)
asdasd
Comparing performance of:
Array.includes vs OR
Created:
2 years ago
by:
Guest
Jump to the latest result
Script Preparation code:
var array = ['a', 'b', 'c', 'd', 'e', 'f']; var value = 'g';
Tests:
Array.includes
array.includes(value)
OR
'a' === value || 'b' === value || 'c' === value || 'd' === value || 'e' === value || 'f' === value;
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (2)
Previous results
Fork
Test case name
Result
Array.includes
OR
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!
Comments
Confirm delete:
Do you really want to delete benchmark?