OR vs if (v7)

Revision 7 of this benchmark created on


Teardown


    var a = "123";
    var b = null;
  

Test runner

Ready to run.

Testing in
TestOps/sec
OR
a = b || a;
ready
IF
if (b) a = b;
 
ready

Revisions

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