ifs

Benchmark created by sels on


Setup

var a = '1', c = '3';

Test runner

Ready to run.

Testing in
TestOps/sec
OR
if ('1' === a || '2' === a)
c = '4';
ready
NOt
if ( '3' !== a)
c = '4';
ready

Revisions

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