include x OR

Benchmark created on


Setup

const a = 1;
const b = 2;

Test runner

Ready to run.

Testing in
TestOps/sec
OR

const y = a === 1 || a === 2;
const z = b === 1 || b === 2;
ready
include
const x = [1, 2];

const y = x.includes(a);
const z = x.includes(b);
ready

Revisions

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