OR vs if (v8)

Revision 8 of this benchmark created on


Teardown


    var a = "123";
    var b = "456";
  

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.