i vs f&&

Benchmark created by && vs If on


Setup

var a,
        b={};
    
    var b.c='asdf'

Test runner

Ready to run.

Testing in
TestOps/sec
&&
!a && (a = b.c);
ready
if
if (!responseType) {
  responseType = localData.OUTPUT_FORMAT;
}
ready

Revisions

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

  • Revision 1: published by && vs If on