condition operator order

Benchmark created on


Setup

var s;

Test runner

Ready to run.

Testing in
TestOps/sec
variable first
if(s === undefined){console.log('s is undefined'); }
ready
constant first
if(undefined === s){console.log('s is undefined2'); }
ready

Revisions

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