t

Benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
a
const a = "hey long text";
if (a) {
	console.log("not empty")
}
ready
n
const a = "hey long text";
if (a.length > 0) {
	console.log("not empty")
}
ready
em
const a = "hey long text";
if (a.length === "") {
	console.log("not empty")
}
ready

Revisions

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