Test boolean short circuiting

Benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
Without this circuiting (condition true)
let a ={ fs:false,sc:true};

const { fs, sc} = a;

console.log(fs== false && sc == true);
ready
With this (condition true)
let a ={ fs:false,sc:true};

console.log(this.fs== false && this.sc == true);
ready

Revisions

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