Tests:
  • Boolean(undefined)

  • !![]

  • Boolean([])

  • !!1

  • Boolean(1)

  • !!'string'

  • Boolean('string')

  • !!'s'

  • Boolean('s')

  • !!NaN

  • Boolean(NaN)

  • !!''

  • Boolean('')

  • !!0

  • Boolean(0)

  • !!null

  • Boolean(null)

  • !!undefined

  • Boolean({})

  • !!{}

Rendered benchmark preparation results:

Suite status: <idle, ready to run>

Previous results
  • Test case name Result
    Boolean(undefined)
    !![]
    Boolean([])
    !!1
    Boolean(1)
    !!'string'
    Boolean('string')
    !!'s'
    Boolean('s')
    !!NaN
    Boolean(NaN)
    !!''
    Boolean('')
    !!0
    Boolean(0)
    !!null
    Boolean(null)
    !!undefined
    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!



;