Toggle navigation
MeasureThat.net
Create a benchmark
Tools
Feedback
FAQ
Register
Log In
!! vs Boolean v2
(version: 0)
Comparing performance of:
Boolean(0) vs !!0 vs Boolean(null) vs !!null vs Boolean(undefined) vs !!undefined vs Boolean(NaN) vs !!NaN vs Boolean('') vs !!''
Created:
2 years ago
by:
Guest
Jump to the latest result
Tests:
Boolean(0)
Boolean(0)
!!0
!!0
Boolean(null)
Boolean(null)
!!null
!!null
Boolean(undefined)
Boolean(undefined)
!!undefined
!!undefined
Boolean(NaN)
Boolean(NaN)
!!NaN
!!NaN
Boolean('')
Boolean('')
!!''
!!''
Rendered benchmark preparation results:
Suite status:
<idle, ready to run>
Run tests (10)
Previous results
Fork
Test case name
Result
Boolean(0)
!!0
Boolean(null)
!!null
Boolean(undefined)
!!undefined
Boolean(NaN)
!!NaN
Boolean('')
!!''
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?