Equality

Benchmark created on


Setup

const isA = true;
const isB = true;

Test runner

Ready to run.

Testing in
TestOps/sec
Explicitly check for true
const aIsTrue = isA === true;
const bIsTrue = isB === true;
ready
Exclamation check
const aIsTrue = !!isA;
const bIsTrue = !!isB;
ready

Revisions

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