undefined vs boolean (v3)

Revision 3 of this benchmark created on


Setup

var objectUndefined = {
};

var objectFalse = {
	dave: false
};

var value = false;

Test runner

Ready to run.

Testing in
TestOps/sec
Check object undefined
objectUndefined.dave && console.log("Hello")
ready
Check object boolean
objectFalse.dave && console.log("Hello")
ready
Check boolean
value && console.log("Hello")
ready

Revisions

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