comparison andand / if

Benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
andand
const foo = null
const bar = 'buzz'

if(foo && bar){
	return 'hello world'
}

if('eweweew' && bar){
	return 'hello world'
}
ready
if
const foo = null
const bar = 'buzz'

if(foo){
	return 'hello world'
}
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.