Empty string (v2)

Revision 2 of this benchmark created on


Setup

let str = "test";

Test runner

Ready to run.

Testing in
TestOps/sec
str === ""
let test1 = str === "";
ready
str.length === 0
let test2 = str.length === 0;
ready
!!str
let test3 = !!str;
ready

Revisions

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